mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 15:17:36 +00:00
LibGL: Add stubs for shader and program related functions
This commit is contained in:
parent
75495a5d65
commit
4568dcbb55
5 changed files with 123 additions and 0 deletions
|
@ -813,6 +813,16 @@ GLAPI void glBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, void
|
|||
GLAPI void glDeleteBuffers(GLsizei n, GLuint const* buffers);
|
||||
GLAPI void glGenBuffers(GLsizei n, GLuint* buffers);
|
||||
|
||||
GLAPI GLuint glCreateShader(GLenum shader_type);
|
||||
GLAPI void glDeleteShader(GLuint shader);
|
||||
GLAPI void glShaderSource(GLuint shader, GLsizei count, GLchar const** string, GLint const* length);
|
||||
GLAPI void glCompileShader(GLuint shader);
|
||||
|
||||
GLAPI GLuint glCreateProgram();
|
||||
GLAPI void glDeleteProgram(GLuint program);
|
||||
GLAPI void glAttachShader(GLuint program, GLuint shader);
|
||||
GLAPI void glLinkProgram(GLuint program);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue