# Bug reports

**URL:** <https://forums.imgtec.com/t/bug-reports/125>\
**Category:** PowerVR Insider\
**Created:** [August 25, 2008, 3:37pm UTC](https://forums.imgtec.com/t/bug-reports/125 "2008-08-25T15:37:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![thm](https://avatars.discourse-cdn.com/v4/letter/t/6a8cbe/32.png) [@thm](https://forums.imgtec.com/u/thm)\
**Post date:** [August 25, 2008, 3:37pm UTC](https://forums.imgtec.com/t/bug-reports/125/1 "2008-08-25T15:37:04Z")

</div>

Hi!

&nbsp;
  

I have a few bug-reports for the PowerVR -&nbsp;emulation of OpenGL-ES in Windows XP. I use OGLES 1.1 WINDOWS PCEMULATION 2.02.22.0756.
  

&nbsp;
  

It seems to be impossible to get some current OpenGL-states, e.g. this does not work like it should:
  

&nbsp;
  

glGetError();
  

&nbsp;
  

GLint colori[4];
  

glGetIntegerv(GL\_CURRENT\_COLOR, colori);  
GLenum error = glGetError();
  

&nbsp;
  

GLfixed colorx[4];
  

glGetFixedv(GL\_CURRENT\_COLOR, colorx);
  

error = glGetError();
  

GLfloat colorf[4];  
glGetFloatv(GL\_CURRENT\_COLOR, colorf);  
error = glGetError();
  

&nbsp;
  

The variables are not changed at all and I always get the error GL\_INVALID\_ENUM, although GL\_CURRENT\_COLOR should be ok with regard to the OGLES 1.1 spec. At the embedded system (without emulation), this works fine.
  

&nbsp;
  

Another issue was found at&nbsp;these lines (now, I want to disable vertical sync):
  

glGetError();  
EGLBoolean&nbsp;currentSwapInterval = eglSwapInterval(m\_gEglDisplay, 0);
  

GLenum error = glGetError();
  

&nbsp;
  

currentSwapInterval is set to 1 (== success) and there's no error (error == 0). But the swapInterval seems not to be changed in WindowsXP. I always have exactly 60 frames per second (vertical synced).
  

&nbsp;
  

On my PowerVR-System (without emulation), I always have 32 frames per second (although I disabled vertical sync by calling glSwapInterval). I'm pretty much sure, that's because&nbsp;the vertical sync isn't disabled there, too.
  

&nbsp;
  

Best regards,
  

Thomas
ThM2008-08-25 17:38:23

---

<div class="post-metadata">

**Author:** ![xmas](https://avatars.discourse-cdn.com/v4/letter/x/958977/32.png) [@xmas](https://forums.imgtec.com/u/xmas)\
**Post date:** [August 26, 2008, 8:13am UTC](https://forums.imgtec.com/t/bug-reports/125/2 "2008-08-26T08:13:14Z")

</div>

Hi Thomas,  
  
  
  
  
  
Thanks for reporting the problem with GL\_CURRENT\_COLOR, this should be fixed in the next SDK release.  
  
  
  
  
  
Could it be possible that your OpenGL driver is set to always enable vsync? Our PC emulation library is a layer on top of the PC OpenGL driver, so any overrides you set in the driver control panel (such as antialiasing, anisotropic filtering, and vsync) will affect your OpenGL ES application.  
  
  
  
  
  
On some platforms it is not possible to disable vsync.  
  
  
  
  
  
Regards,  
  
  
Georg

---

<div class="post-metadata">

**Author:** ![thm](https://avatars.discourse-cdn.com/v4/letter/t/6a8cbe/32.png) [@thm](https://forums.imgtec.com/u/thm)\
**Post date:** [August 27, 2008, 7:57am UTC](https://forums.imgtec.com/t/bug-reports/125/3 "2008-08-27T07:57:24Z")

</div>

Hi Georg,

&nbsp;
  

thank you for your answer. I'm looking forward to the new SDK release.
  

Maybe the vertical-sync problem relies on the driver at my system, that's possible.
  

&nbsp;
  

Cheers,
  

Thomas
