diff options
Diffstat (limited to 'source/blender/gpu/opengl/gl_texture.cc')
-rw-r--r-- | source/blender/gpu/opengl/gl_texture.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/gpu/opengl/gl_texture.cc b/source/blender/gpu/opengl/gl_texture.cc index 6151a2fc73e..6cff97215e8 100644 --- a/source/blender/gpu/opengl/gl_texture.cc +++ b/source/blender/gpu/opengl/gl_texture.cc @@ -120,10 +120,10 @@ bool GLTexture::init_internal(GPUVertBuf *vbo) GLenum internal_format = to_gl_internal_format(format_); if (GLEW_ARB_direct_state_access) { - glTextureBuffer(tex_id_, internal_format, gl_vbo->vbo_id); + glTextureBuffer(tex_id_, internal_format, gl_vbo->vbo_id_); } else { - glTexBuffer(target_, internal_format, gl_vbo->vbo_id); + glTexBuffer(target_, internal_format, gl_vbo->vbo_id_); } #ifndef __APPLE__ |