Skip to content

Commit

Permalink
Remove GLDeformStage from skybox
Browse files Browse the repository at this point in the history
  • Loading branch information
VReaperV committed Sep 25, 2024
1 parent b16695f commit ec3018b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
6 changes: 2 additions & 4 deletions src/engine/renderer/gl_shader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2501,8 +2501,7 @@ GLShader_skybox::GLShader_skybox( GLShaderManager *manager ) :
u_AlphaThreshold( this ),
u_ModelMatrix( this ),
u_ModelViewProjectionMatrix( this ),
u_InverseLightFactor( this ),
GLDeformStage( this )
u_InverseLightFactor( this )
{
}

Expand All @@ -2523,8 +2522,7 @@ GLShader_skyboxMaterial::GLShader_skyboxMaterial( GLShaderManager* manager ) :
u_AlphaThreshold( this ),
u_ModelMatrix( this ),
u_ModelViewProjectionMatrix( this ),
u_InverseLightFactor( this ),
GLDeformStage( this ) {
u_InverseLightFactor( this ) {
}

void GLShader_skyboxMaterial::SetShaderProgramUniforms( shaderProgram_t* shaderProgram ) {
Expand Down
6 changes: 2 additions & 4 deletions src/engine/renderer/gl_shader.h
Original file line number Diff line number Diff line change
Expand Up @@ -4315,8 +4315,7 @@ class GLShader_skybox :
public u_AlphaThreshold,
public u_ModelMatrix,
public u_ModelViewProjectionMatrix,
public u_InverseLightFactor,
public GLDeformStage
public u_InverseLightFactor
{
public:
GLShader_skybox( GLShaderManager *manager );
Expand All @@ -4334,8 +4333,7 @@ class GLShader_skyboxMaterial :
public u_AlphaThreshold,
public u_ModelMatrix,
public u_ModelViewProjectionMatrix,
public u_InverseLightFactor,
public GLDeformStage {
public u_InverseLightFactor {
public:
GLShader_skyboxMaterial( GLShaderManager* manager );
void SetShaderProgramUniforms( shaderProgram_t* shaderProgram ) override;
Expand Down

0 comments on commit ec3018b

Please sign in to comment.