GLContext: remove setSize() and set glViewport() in Display::onReshape()
This commit is contained in:
parent
60333f6d02
commit
c1f1dd75bd
6 changed files with 8 additions and 33 deletions
|
|
@ -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;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue