Merged SM2D.DrawColor/DrawComplex/DrawPolygon/DrawShader/DrawTexture into DrawObject2D
This commit is contained in:
parent
beb9c19081
commit
0895c600cf
14 changed files with 320 additions and 256 deletions
|
|
@ -49,7 +49,7 @@ namespace SM.OGL
|
|||
ShadingVersion = Version.CreateGLVersion(GL.GetString(StringName.ShadingLanguageVersion));
|
||||
Extensions = GL.GetString(StringName.Extensions).Split(' ');
|
||||
|
||||
Debugging = Extensions.Contains("khr_debug");
|
||||
Debugging = Extensions.Contains("GL_KHR_debug");
|
||||
if (Debugging) GLDebugging.EnableDebugging();
|
||||
|
||||
_init = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue