1
0
Fork 0

GLContext: remove setSize() and set glViewport() in Display::onReshape()

This commit is contained in:
Henrik Hautakoski 2023-08-02 22:30:45 +02:00
parent 60333f6d02
commit c1f1dd75bd
6 changed files with 8 additions and 33 deletions

View file

@ -38,9 +38,6 @@ public :
// This is usually refered to as enabling/disabling vertical synchronization.
virtual bool setSwapInterval(int interval) = 0;
// Set the size of the pixel buffer.
virtual void setSize(unsigned int width, unsigned int height) = 0;
// Swap front with back buffer and vice versa.
virtual void swapBuffers() = 0;
};