mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
Clean up various things.
This commit is contained in:
@ -32,9 +32,7 @@ struct VERTEXSHADER
|
||||
VERTEXSHADER() : glprogid(0) {}
|
||||
GLuint glprogid; // opengl program id
|
||||
|
||||
//#if defined(_DEBUG) || defined(DEBUGFAST)
|
||||
std::string strprog;
|
||||
//#endif
|
||||
};
|
||||
|
||||
class VertexShaderCache
|
||||
@ -43,8 +41,7 @@ class VertexShaderCache
|
||||
{
|
||||
VERTEXSHADER shader;
|
||||
VERTEXSHADERUIDSAFE safe_uid;
|
||||
int frameCount;
|
||||
VSCacheEntry() : frameCount(0) {}
|
||||
VSCacheEntry() {}
|
||||
void Destroy() {
|
||||
// printf("Destroying vs %i\n", shader.glprogid);
|
||||
glDeleteProgramsARB(1, &shader.glprogid);
|
||||
@ -56,6 +53,9 @@ class VertexShaderCache
|
||||
|
||||
static VSCache vshaders;
|
||||
|
||||
static VSCacheEntry* last_entry;
|
||||
static VERTEXSHADERUID last_uid;
|
||||
|
||||
static GLuint CurrentShader;
|
||||
static bool ShaderEnabled;
|
||||
|
||||
|
Reference in New Issue
Block a user