40#include <OpenGL/glext.h>
53extern void glutCheckLoop(
void);
56extern void glutMainLoopEvent(
void);
65 return ((width + 3) / 4 * 4) * ((height + 3) / 4 * 4);
67 return ((width + 3) / 4 * 4) * ((height + 3) / 4 * 4) / 2;
GLuint dxt_shader_create_from_file(const char *filename, GLenum type)
GLuint dxt_shader_create_from_source(const char *source, GLenum type)
static int dxt_get_size(int width, int height, enum dxt_type format)