hgl.h 256 B

123456789101112131415
  1. #ifndef HGL_H
  2. #define HGL_H
  3. #include <GL/glew.h>
  4. #include "hframe.h"
  5. // GL PixelFormat extend
  6. #define GL_I420 0x1910
  7. typedef struct GLTexture_s{
  8. GLuint id; // glGenTextures分配的ID
  9. HFrame frame;
  10. }GLTexture;
  11. #endif // HGL_H