summaryrefslogtreecommitdiff
path: root/editor/plugins
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2019-11-23 19:22:39 +0100
committerRémi Verschelde <rverschelde@gmail.com>2019-11-23 19:38:31 +0100
commitbb1d75f55e1dc15eaa2ea550fc30aeaa5c2e3783 (patch)
tree35afb2f2ae13d62f0de774fdbc5b67a242f73340 /editor/plugins
parent636bc5c32f07050fb387a7f8f5f78f7dc9aef7be (diff)
glTexImage2D: Fix confusion between format and internal format
The `format` parameter is similar to `internalFormat` but takes different values, and especially only `GL_DEPTH_COMPONENT` for depth, without size specifier. Cf. https://www.khronos.org/registry/OpenGL-Refpages/es3.0/html/glTexImage2D.xhtml Fixes a regression from #33278 and another occurrence.
Diffstat (limited to 'editor/plugins')
0 files changed, 0 insertions, 0 deletions