From: Lawrence S. <ljs...@us...> - 2017-05-23 13:12:32
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "The KallistiOS port of OpenGL.". The branch, master has been updated via a1185f3369895df4b29cd476e4a53e70b53d7a4e (commit) from c960b24f07d3982c47b7c8555050f1e76a735b2d (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit a1185f3369895df4b29cd476e4a53e70b53d7a4e Author: Lawrence Sebald <ljs...@us...> Date: Tue May 23 09:11:52 2017 -0400 glIsEnabled(GL_CULL_FACE) should return the status of culling, not fog. ----------------------------------------------------------------------- Summary of changes: gl-cap.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/gl-cap.c b/gl-cap.c index af4ac60..d479f99 100644 --- a/gl-cap.c +++ b/gl-cap.c @@ -9,9 +9,6 @@ #include "gl.h" #include "gl-api.h" -#include <malloc.h> -#include <stdio.h> - //===============================================================================// //== Enable Bit Flags ==// @@ -128,7 +125,7 @@ GLboolean APIENTRY glIsEnabled(GLenum cap) { return _glKosEnabledScissorTest() ? GL_TRUE : GL_FALSE; case GL_CULL_FACE: - return _glKosEnabledFog() ? GL_TRUE : GL_FALSE; + return _glKosEnabledCulling() ? GL_TRUE : GL_FALSE; case GL_FOG: return _glKosEnabledFog() ? GL_TRUE : GL_FALSE; hooks/post-receive -- The KallistiOS port of OpenGL. |