diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2020-09-12 20:48:52 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2020-09-12 20:48:52 +0300 |
commit | 2e4569abbc6aa19d166ed083c04e046fdc19fce5 (patch) | |
tree | a924894164afd7337e3d272e0e8ef4cedbf49250 /source/blender/gpu/intern/gpu_texture.cc | |
parent | fe5efccd8fb6ce2a7e5e858e3f8becf5f98bb087 (diff) |
Fix remaining GL calls/type preventing from building due to recent cleanup
Diffstat (limited to 'source/blender/gpu/intern/gpu_texture.cc')
-rw-r--r-- | source/blender/gpu/intern/gpu_texture.cc | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/source/blender/gpu/intern/gpu_texture.cc b/source/blender/gpu/intern/gpu_texture.cc index 09dbf04210a..eb6881164b2 100644 --- a/source/blender/gpu/intern/gpu_texture.cc +++ b/source/blender/gpu/intern/gpu_texture.cc @@ -513,12 +513,6 @@ void GPU_texture_ref(GPUTexture *tex) reinterpret_cast<Texture *>(tex)->refcount++; } -/* TODO(fclem) Remove! This is broken as it is! */ -int GPU_texture_target(const GPUTexture *UNUSED(tex)) -{ - return GL_TEXTURE_2D; -} - int GPU_texture_width(const GPUTexture *tex) { return reinterpret_cast<const Texture *>(tex)->width_get(); |