# How to disable anti aliasing on the PC emulator

**URL:** <https://forums.imgtec.com/t/how-to-disable-anti-aliasing-on-the-pc-emulator/2091>\
**Category:** PowerVR Insider\
**Created:** [June 4, 2014, 11:17pm UTC](https://forums.imgtec.com/t/how-to-disable-anti-aliasing-on-the-pc-emulator/2091 "2014-06-04T23:17:37Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![tobyc](https://avatars.discourse-cdn.com/v4/letter/t/b19c9b/32.png) [@tobyc](https://forums.imgtec.com/u/tobyc)\
**Post date:** [June 4, 2014, 11:17pm UTC](https://forums.imgtec.com/t/how-to-disable-anti-aliasing-on-the-pc-emulator/2091/1 "2014-06-04T23:17:37Z")

</div>

I’m not sure why, but later versions of the PC emulator anti alias full screen by default. I have tried setting egl SAMPLE\_BUFFERS to zero etc (this should be the default anyway), but I still get anti aliasing on poly edges and line drawing. Earlier versions of the PC emulator such as the one that came with SDK 3.0r2 doesn’t anti alias.  
  
  
  
Is there a way to turn this off on version 3.3 that I’m missing?

---

<div class="post-metadata">

**Author:** ![dgu](https://avatars.discourse-cdn.com/v4/letter/d/94ad74/32.png) [@dgu](https://forums.imgtec.com/u/dgu)\
**Post date:** [June 5, 2014, 3:53am UTC](https://forums.imgtec.com/t/how-to-disable-anti-aliasing-on-the-pc-emulator/2091/2 "2014-06-05T03:53:02Z")

</div>

Hello  
  
  
  
did you try :to set the shell with prefAASamples settings?  
  
  
  
regards  
  
david

---

<div class="post-metadata">

**Author:** ![tobyc](https://avatars.discourse-cdn.com/v4/letter/t/b19c9b/32.png) [@tobyc](https://forums.imgtec.com/u/tobyc)\
**Post date:** [June 5, 2014, 4:33am UTC](https://forums.imgtec.com/t/how-to-disable-anti-aliasing-on-the-pc-emulator/2091/3 "2014-06-05T04:33:07Z")

</div>

I’m not using the PVR shell (as far as I know).  
  
I’m compiling it against the libEGL.lib and libGLESv2.lib that come with the SDK.

---

<div class="post-metadata">

**Author:** ![ChrisPenrose](https://avatars.discourse-cdn.com/v4/letter/c/e36b37/32.png) [@ChrisPenrose](https://forums.imgtec.com/u/ChrisPenrose)\
**Post date:** [June 5, 2014, 9:44am UTC](https://forums.imgtec.com/t/how-to-disable-anti-aliasing-on-the-pc-emulator/2091/4 "2014-06-05T09:44:06Z")

</div>

Hi Tobyc  
  
  
  
A quirk of EGL is that you can only specify the minimum number of multisample buffers, so specifying zero for EGL\_SAMPLE\_BUFFERS means you may still get an antialiased framebuffer config.  
  
  
  
If you really need AA to be disabled then you could iterate through the returned configs and use eglGetConfigAttrib to find one with no multisample buffer.
