# bug in OpenGL ES emulator

**URL:** <https://forums.imgtec.com/t/bug-in-opengl-es-emulator/391>\
**Category:** PowerVR Insider\
**Created:** [June 29, 2009, 10:20am UTC](https://forums.imgtec.com/t/bug-in-opengl-es-emulator/391 "2009-06-29T10:20:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![lefty](https://avatars.discourse-cdn.com/v4/letter/l/85e7bf/32.png) [@lefty](https://forums.imgtec.com/u/lefty)\
**Post date:** [June 29, 2009, 10:20am UTC](https://forums.imgtec.com/t/bug-in-opengl-es-emulator/391/1 "2009-06-29T10:20:10Z")

</div>

I am using the OpenGL ES 1.1 emulator to test a game I’m developing.  
I have a texture atlas with several images packed together in the same texture. Each image is drawn as a quad. When I draw the quads without any rotation everythings fine, however if I rotate any quad it will render an extra pixel from the image below it. This looks like a bug in the emulator. I haven’t tested yet on a real device.

---

<div class="post-metadata">

**Author:** ![GordonMaclachlan](https://avatars.discourse-cdn.com/v4/letter/g/c68b51/32.png) [@GordonMaclachlan](https://forums.imgtec.com/u/GordonMaclachlan)\
**Post date:** [July 3, 2009, 4:26pm UTC](https://forums.imgtec.com/t/bug-in-opengl-es-emulator/391/2 "2009-07-03T16:26:58Z")

</div>

This sounds like a common problem with texture sampling and texture atlases:  
  
  
  
  
  
[http://www.gamedev.net/community/forums/topic.asp?topic\_id=432615](http://www.gamedev.net/community/forums/topic.asp?topic_id=432615)  
  
  
  
  
  
Obviously the suggestion to clamp is wrong in that thread, but further down there is a solution. If you still have problems then we can try and help you further.

---

<div class="post-metadata">

**Author:** ![lefty](https://avatars.discourse-cdn.com/v4/letter/l/85e7bf/32.png) [@lefty](https://forums.imgtec.com/u/lefty)\
**Post date:** [July 4, 2009, 11:04am UTC](https://forums.imgtec.com/t/bug-in-opengl-es-emulator/391/3 "2009-07-04T11:04:20Z")

</div>

Oh, that works!  
Thanks for your help Gordon ![Smile]()
