mirror of
https://github.com/ddnet/ddnet.git
synced 2024-09-21 10:04:18 +00:00
060f6fd36e
Fixes #939.
20 lines
311 B
C++
20 lines
311 B
C++
#pragma once
|
|
|
|
#include "engine/external/glew/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;
|
|
};
|