]> git.tdb.fi Git - libs/gl.git/blobdiff - source/core/stenciltest.cpp
Completely hide OpenGL from the public headers
[libs/gl.git] / source / core / stenciltest.cpp
index 7076f4d72dd205aec28341bee9ea01b92012dd36..57a191cfad95f83620b5ac1f35487adf9d49cc2f 100644 (file)
@@ -1,5 +1,6 @@
 #include <stdexcept>
 #include <msp/strings/format.h>
+#include "gl.h"
 #include "stenciltest.h"
 
 using namespace std;
@@ -39,7 +40,7 @@ void StencilTest::Loader::actions(StencilOp sf, StencilOp df, StencilOp dp)
 }
 
 
-GLenum get_gl_stencil_op(StencilOp op)
+unsigned get_gl_stencil_op(StencilOp op)
 {
        switch(op)
        {