explicitly remove textures during resetSimulation
move glViewport to Win32Window
This commit is contained in:
@@ -44,7 +44,7 @@ static SimpleOpenGL2App* gApp2=0;
|
||||
|
||||
static void Simple2ResizeCallback( float widthf, float heightf)
|
||||
{
|
||||
glViewport(0, 0, widthf, heightf);
|
||||
|
||||
|
||||
int width = (int)widthf;
|
||||
int height = (int)heightf;
|
||||
|
||||
Reference in New Issue
Block a user