Blender Git Commit Log

Git Commits -> Revision 263ee86

Revision 263ee86 by Clément Foucault (tmp-gltexture)
September 5, 2020, 14:28 (GMT)
GLTexture: Fix texture creation when using direct state access

There was 2 errors:
- A texture object must have been bound to target_ before use with DSA funcs
- We need to use glTextureSubImage for DSA updating

Commit Details:

Full Hash: 263ee86fb45a94e6a3c39c5004fdb469fafbc893
Parent Commit: d1479c4
Lines Changed: +51, -5

2 Modified Paths:

/source/blender/gpu/opengl/gl_texture.cc (+49, -5) (Diff)
/source/blender/gpu/opengl/gl_texture.hh (+2, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021