#include <map>
#include <string>
#include <utility>
+#include <epoxy/gl.h>
-#include "glew.h"
#include "init.h"
#include "resource_pool.h"
#include "util.h"
case GL_RG16F:
format = GL_RG;
break;
- case GL_LUMINANCE8:
- format = GL_LUMINANCE;
+ case GL_R8:
+ format = GL_RED;
break;
default:
// TODO: Add more here as needed.
case GL_RG16F:
bytes_per_pixel = 4;
break;
- case GL_LUMINANCE8:
+ case GL_R8:
bytes_per_pixel = 1;
break;
default: