mirror of
https://github.com/whoahq/whoa.git
synced 2026-11-27 08:13:50 +03:00
18 lines
378 B
C++
18 lines
378 B
C++
#include "gx/gll/GLVertexShader.h"
|
|
#include "gx/gll/GL.h"
|
|
|
|
GLVertexShader* GLVertexShader::Create() {
|
|
// TODO
|
|
// GLPool stuff
|
|
|
|
GLVertexShader* shader = new GLVertexShader();
|
|
|
|
shader->m_ShaderID = 0;
|
|
shader->m_RefCount = 1;
|
|
shader->m_ShaderType = eVertexShader;
|
|
shader->m_UsingGLSL = 0;
|
|
shader->var5 = GL_VERTEX_PROGRAM_ARB;
|
|
|
|
return shader;
|
|
}
|