Blender Git Loki

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)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021