X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fpixelformat.h;fp=source%2Fpixelformat.h;h=8e3e6901e95d0e40c7357b3e2389429dabb14e8d;hb=0221e39a685c4f3122a0fae032a7888b5ce40579;hp=7a562cc948408bccf0eaaba9982df73edc7307e7;hpb=55dbeb5e04516699b8415104e346243d5e4c48c9;p=libs%2Fgl.git diff --git a/source/pixelformat.h b/source/pixelformat.h index 7a562cc9..8e3e6901 100644 --- a/source/pixelformat.h +++ b/source/pixelformat.h @@ -4,6 +4,7 @@ #include #include #include "gl.h" +#include #include #include #include @@ -17,6 +18,9 @@ enum PixelFormat { STENCIL_INDEX = GL_STENCIL_INDEX, DEPTH_COMPONENT = GL_DEPTH_COMPONENT, + DEPTH_COMPONENT16 = GL_DEPTH_COMPONENT16, + DEPTH_COMPONENT24 = GL_DEPTH_COMPONENT24, + DEPTH_COMPONENT32 = GL_DEPTH_COMPONENT32, RGB = GL_RGB, RGBA = GL_RGBA, RGB8 = GL_RGB8,