mirror of
https://github.com/Garux/netradiant-custom.git
synced 2026-09-28 00:00:03 +02:00
minor tweaks
This commit is contained in:
@@ -826,7 +826,7 @@ class OpenGLShaderCache final : public ShaderCache, public TexturesCacheObserver
|
||||
: m_cache( cache ){
|
||||
}
|
||||
OpenGLShader* construct( const CopiedString& name ){
|
||||
OpenGLShader* shader = new OpenGLShader;
|
||||
auto *shader = new OpenGLShader;
|
||||
if ( m_cache->realised() ) {
|
||||
shader->realise( name );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user