Add some initial font support.
This commit is contained in:
parent
71b5e8d4b1
commit
ce11c52ae5
4 changed files with 72 additions and 25 deletions
|
@ -60,6 +60,8 @@ bool XcbGlWindowInterface::initialize(xcb_window_t window)
|
|||
void XcbGlWindowInterface::resizeViewPort(unsigned width, unsigned height)
|
||||
{
|
||||
glViewport(0, 0, width, height);
|
||||
glScissor(0, 0, width, height);
|
||||
|
||||
glOrtho(0, width, 0, height, -1.0, 1.0);
|
||||
glMatrixMode(GL_PROJECTION);
|
||||
glLoadIdentity();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue