1
0
Fork 0

Write max-texture-units to properties

This commit is contained in:
James Turner 2020-12-06 18:43:17 +00:00
parent 83c8c7e0c3
commit 7aa160c4e3

View file

@ -146,6 +146,9 @@ struct GeneralInitOperation : public GraphicsContextOperation
glGetIntegerv( GL_MAX_TEXTURE_SIZE, &tmp );
simRendering->setIntValue("max-texture-size", tmp);
glGetIntegerv(GL_MAX_TEXTURE_UNITS, &tmp);
simRendering->setIntValue("max-texture-units", tmp);
glGetIntegerv( GL_DEPTH_BITS, &tmp );
simRendering->setIntValue("depth-buffer-bits", tmp);