From 834599dc4b47589d85ce95fdf041ecc5788a483f Mon Sep 17 00:00:00 2001 From: Luke Benstead Date: Sun, 10 Mar 2019 20:05:40 +0000 Subject: [PATCH] Add glDrawBuffer stub --- GL/state.c | 4 ++++ include/gl.h | 1 + 2 files changed, 5 insertions(+) diff --git a/GL/state.c b/GL/state.c index 50a5656..3b4207a 100644 --- a/GL/state.c +++ b/GL/state.c @@ -420,6 +420,10 @@ GLAPI void APIENTRY glClearDepth(GLfloat depth) { } +GLAPI void APIENTRY glDrawBuffer(GLenum mode) { + +} + GLAPI void APIENTRY glReadBuffer(GLenum mode) { } diff --git a/include/gl.h b/include/gl.h index ac3072d..6a3bb5e 100644 --- a/include/gl.h +++ b/include/gl.h @@ -467,6 +467,7 @@ GLAPI void APIENTRY glClear(GLuint mode); GLAPI void APIENTRY glClearColor(GLfloat r, GLfloat g, GLfloat b, GLfloat a); GLAPI void APIENTRY glReadBuffer(GLenum mode); +GLAPI void APIENTRY glDrawBuffer(GLenum mode); /* Depth Testing */ GLAPI void APIENTRY glClearDepth(GLfloat depth);