mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-23 16:43:50 +00:00
backup
This commit is contained in:
parent
55519aac57
commit
630bee97c7
3 changed files with 75 additions and 80 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue