You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It was recently noted that we might not be handling OpenGL resources correctly, such as by freeing them after we are done using them.
In Image.cpp in generateFbo there is a call to glGenTextures where the variable holding the ID simply goes out of scope. It does pass the value to glBindTexture first, but I doubt it get's read back and handled anywhere else.
The only potential use of the code in question is from RendererOpenGL::drawImageToImage, which is currently unused by NAS2D and OPHD.
It was recently noted that we might not be handling OpenGL resources correctly, such as by freeing them after we are done using them.
In
Image.cpp
ingenerateFbo
there is a call toglGenTextures
where the variable holding the ID simply goes out of scope. It does pass the value toglBindTexture
first, but I doubt it get's read back and handled anywhere else.The only potential use of the code in question is from
RendererOpenGL::drawImageToImage
, which is currently unused by NAS2D and OPHD.Relevant documentation:
Other related documentation:
Related:
The text was updated successfully, but these errors were encountered: