fix texImage2D binding (#2041)

* fix texImage2D binding

* fix depth bits query
This commit is contained in:
Yun Hsiao Wu
2020-01-04 08:38:41 +08:00
committed by pandamicro
parent 7bcd1b05ab
commit de79eb538f
2 changed files with 17 additions and 8 deletions
+1
View File
@@ -182,6 +182,7 @@ void Configuration::gatherGPUInfo()
else {
_supportsFloatTexture = checkForGLExtension("texture_float");
_valueDict["gl.supports_float_texture"] = Value(_supportsFloatTexture);
// todo: half float
_supportsShareableVAO = checkForGLExtension("vertex_array_object");
_valueDict["gl.supports_vertex_array_object"] = Value(_supportsShareableVAO);