IMP1 / jog

Jog
Other
0 stars 0 forks source link

Add isSupported to canvas and shaders #11

Closed IMP1 closed 10 years ago

IMP1 commented 10 years ago

Shader ContextCapabilities c = GLContext.getCapabilities(); return c.GL_ARB_shader_objects && c.GL_ARB_vertex_shader && c.GL_ARB_fragment_shader; Canvas return GLContext.getCapabilities().GL_EXT_framebuffer_object;

IMP1 commented 10 years ago

Done.