mirror of
https://github.com/whoahq/whoa.git
synced 2026-02-02 08:42:45 +03:00
* chore(build): add vendored SDL 3.0.0 library * chore(build): add vendored glew-cmake-2.2.0 library * feat(console): in the presence of -opengl launch flag, change GxApi to OpenGl * feat(gx): add uncompleted CGxDeviceGLSDL targeting Windows and Linux * chore(build): change SDL3 linkage from shared (bad) to to static (good)
18 lines
386 B
C++
18 lines
386 B
C++
#include "gx/glsdl/GLVertexShader.hpp"
|
|
#include "gx/glsdl/GL.hpp"
|
|
|
|
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;
|
|
}
|