check if running on emulator

removed the unnecessary optional OpenGL ES 2 check that was added to circumvent a bug in the emulator in favor of a proper check if running on a emulator