diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2020-09-12 17:22:34 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2020-09-12 17:22:34 +0300 |
commit | 6bc0a8424e9b794accf70534ed55478337f0e3e3 (patch) | |
tree | 86a198926ab024fbf696bb687344c2cfabbeb0c7 /source/blender/gpu/opengl | |
parent | 0639f008b6027d9ae1f29a5ecef835333b039b7e (diff) |
Cleanup: GPU: Rename GPUStateManager to StateManager to follow style
Diffstat (limited to 'source/blender/gpu/opengl')
-rw-r--r-- | source/blender/gpu/opengl/gl_state.cc | 2 | ||||
-rw-r--r-- | source/blender/gpu/opengl/gl_state.hh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/gpu/opengl/gl_state.cc b/source/blender/gpu/opengl/gl_state.cc index 93753768928..3c577bf1ccd 100644 --- a/source/blender/gpu/opengl/gl_state.cc +++ b/source/blender/gpu/opengl/gl_state.cc @@ -42,7 +42,7 @@ namespace blender::gpu { /** \name GLStateManager * \{ */ -GLStateManager::GLStateManager(void) : GPUStateManager() +GLStateManager::GLStateManager(void) : StateManager() { /* Set other states that never change. */ glEnable(GL_TEXTURE_CUBE_MAP_SEAMLESS); diff --git a/source/blender/gpu/opengl/gl_state.hh b/source/blender/gpu/opengl/gl_state.hh index b636c08ec0d..b98c4b300f3 100644 --- a/source/blender/gpu/opengl/gl_state.hh +++ b/source/blender/gpu/opengl/gl_state.hh @@ -40,7 +40,7 @@ class GLTexture; * State manager keeping track of the draw state and applying it before drawing. * Opengl Implementation. **/ -class GLStateManager : public GPUStateManager { +class GLStateManager : public StateManager { public: /** Anothter reference to the active framebuffer. */ GLFrameBuffer *active_fb = nullptr; |