Rewrite ToGL in OpenGLES(Uncomplete)

This commit is contained in:
nillerusr
2021-11-21 01:38:59 +03:00
parent 76bfcf40ca
commit 4508c9c863
24 changed files with 829 additions and 1057 deletions
+2 -2
View File
@@ -90,7 +90,7 @@ struct GLMShaderDesc
union
{
GLuint arb; // ARB program object name
GLhandleARB glsl; // GLSL shader object handle (void*)
GLuint glsl; // GLSL shader object handle (void*)
} m_object;
// these can change if shader text is edited
@@ -253,7 +253,7 @@ public:
CGLMProgram *m_vertexProg;
CGLMProgram *m_fragmentProg;
GLhandleARB m_program; // linked program object
GLuint m_program; // linked program object
// need meta data for attribs / samplers / params
// actually we only need it for samplers and params.