You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

7 lines
302 B

4 years ago
4 years ago
  1. #pragma once
  2. #include "glew.h"
  3. char* LoadFileContent(const char*path);
  4. unsigned char* LoadBMP(const char*path, int &width, int &height);
  5. GLuint CreateTextureFromFile(const char*filePath);
  6. void CheckGLError(const char* file, int line);
  7. #define GL_CALL(x) do{x;CheckGLError(__FILE__, __LINE__);}while(0)