Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClément Foucault <foucault.clem@gmail.com>2020-09-05 18:37:01 +0300
committerClément Foucault <foucault.clem@gmail.com>2020-09-05 18:49:14 +0300
commit895ec052128dba7b319e07af40fb91fdd50aff19 (patch)
tree2a4cdc85cd14f256df280ea80a44c7d14d56da3b /source/blender/gpu/opengl/gl_texture.hh
parent13305fb5138a6d1df1ac1edd5bd7da5d1a0b54dd (diff)
Cleanup: GPUTexture: Clean framebuffer attachment
Diffstat (limited to 'source/blender/gpu/opengl/gl_texture.hh')
-rw-r--r--source/blender/gpu/opengl/gl_texture.hh10
1 files changed, 0 insertions, 10 deletions
diff --git a/source/blender/gpu/opengl/gl_texture.hh b/source/blender/gpu/opengl/gl_texture.hh
index ec1fc114584..c18949c264e 100644
--- a/source/blender/gpu/opengl/gl_texture.hh
+++ b/source/blender/gpu/opengl/gl_texture.hh
@@ -44,16 +44,6 @@ struct GPUFrameBuffer;
namespace blender {
namespace gpu {
-#if 0
-class GLContext {
- /** Currently bound textures. Updated before drawing. */
- GLuint bound_textures[64];
- GLuint bound_samplers[64];
- /** All sampler objects. Last one is for icon sampling. */
- GLuint samplers[GPU_SAMPLER_MAX + 1];
-};
-#endif
-
class GLTexture : public Texture {
friend class GLStateManager;