This commit is contained in:
marauder2k7 2024-02-22 21:37:44 +00:00
parent 55519aac57
commit 630bee97c7
3 changed files with 75 additions and 80 deletions

View file

@ -59,9 +59,9 @@ public:
GFXShaderConstDesc mDesc;
GFXGLShader* mShader;
GLuint mLocation;
U32 mOffset;
U32 mSize;
U32 mSize;
GLuint mLocation;
S32 mSamplerNum;
bool mInstancingConstant;
};
@ -799,6 +799,7 @@ GFXShaderConstHandle* GFXGLShader::getShaderConstHandle(const String& name)
else
{
GFXGLShaderConstHandle* handle = new GFXGLShaderConstHandle( this );
handle->setValid(false);
mHandles[ name ] = handle;
return handle;