mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 16:58:40 -04:00
Fix build error
This commit is contained in:
parent
7d721a33a6
commit
8a35f360bd
@ -534,7 +534,7 @@ analyze_renderstate(ShaderKey &key, const RenderState *rs) {
|
||||
* of the shader generator. This should be rare because in most cases, the
|
||||
* shader generator will automatically regenerate shaders as necessary.
|
||||
*/
|
||||
INLINE void ShaderGenerator::
|
||||
void ShaderGenerator::
|
||||
rehash_generated_shaders() {
|
||||
LightReMutexHolder holder(*RenderState::_states_lock);
|
||||
|
||||
@ -575,7 +575,7 @@ rehash_generated_shaders() {
|
||||
* Removes all previously generated shaders, requiring all shaders to be
|
||||
* regenerated. Does not clear cache of compiled shaders.
|
||||
*/
|
||||
INLINE void ShaderGenerator::
|
||||
void ShaderGenerator::
|
||||
clear_generated_shaders() {
|
||||
LightReMutexHolder holder(*RenderState::_states_lock);
|
||||
|
||||
|
@ -70,8 +70,8 @@ PUBLISHED:
|
||||
virtual CPT(ShaderAttrib) synthesize_shader(const RenderState *rs,
|
||||
const GeomVertexAnimationSpec &anim);
|
||||
|
||||
INLINE void rehash_generated_shaders();
|
||||
INLINE void clear_generated_shaders();
|
||||
void rehash_generated_shaders();
|
||||
void clear_generated_shaders();
|
||||
|
||||
protected:
|
||||
// Shader register allocation:
|
||||
|
Loading…
x
Reference in New Issue
Block a user