]> git.tdb.fi Git - libs/gl.git/blobdiff - source/core/pixelformat.cpp
Completely hide OpenGL from the public headers
[libs/gl.git] / source / core / pixelformat.cpp
index 1ee0cd09dcf0458fe5d010e61aca1c2d6c8a8813..6be6d7c97b36e00882022eae4b28ad314e3fc593 100644 (file)
@@ -169,7 +169,7 @@ void require_pixelformat(PixelFormat pf)
        }
 }
 
-GLenum get_gl_components(PixelComponents comp)
+unsigned get_gl_components(PixelComponents comp)
 {
        switch(comp)
        {
@@ -183,7 +183,7 @@ GLenum get_gl_components(PixelComponents comp)
        }
 }
 
-GLenum get_gl_pixelformat(PixelFormat pf)
+unsigned get_gl_pixelformat(PixelFormat pf)
 {
        switch(pf)
        {