mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-14 03:58:18 +00:00
94818ec1f0
Allow for newer versions of Wavpack, fixes #1023. Fixes #1016.
23 lines
382 B
C++
23 lines
382 B
C++
#ifndef ENGINE_CLIENT_OPENGL_SL_H
|
|
#define ENGINE_CLIENT_OPENGL_SL_H
|
|
|
|
#include <GL/glew.h>
|
|
|
|
class CGLSL {
|
|
public:
|
|
bool LoadShader(class IStorage *pStorage, const char *pFile, int Type);
|
|
void DeleteShader();
|
|
|
|
bool IsLoaded();
|
|
GLuint GetShaderID();
|
|
|
|
CGLSL();
|
|
virtual ~CGLSL();
|
|
private:
|
|
GLuint m_ShaderID;
|
|
int m_Type;
|
|
bool m_IsLoaded;
|
|
};
|
|
|
|
#endif // ENGINE_CLIENT_OPENGL_SL_H
|