Write max-texture-units to properties
This commit is contained in:
parent
83c8c7e0c3
commit
7aa160c4e3
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue