mirror of
https://github.com/lxsang/Diya-API.git
synced 2024-12-27 03:48:21 +01:00
avoid uninitialize value
This commit is contained in:
parent
e047a89801
commit
81548622cc
@ -117,6 +117,7 @@ OpenGLSL >> checkStatus:status of: id [
|
||||
|infoLength buffer result|
|
||||
result := FFIExternalArray externalNewType: GLint size: 1.
|
||||
infoLength := FFIExternalArray externalNewType: GLint size: 1.
|
||||
infoLength at: 1 put: 0.
|
||||
infoLength autoRelease.
|
||||
result autoRelease.
|
||||
OpenGLSL getShaderiv: id parameterName: status params: result getHandle.
|
||||
|
Loading…
Reference in New Issue
Block a user