mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-21 16:12:40 +08:00
fix texImage2D binding (#2041)
* fix texImage2D binding * fix depth bits query
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user