Add some initial font support.

This commit is contained in:
James Grogan 2022-11-14 17:27:24 +00:00
parent 71b5e8d4b1
commit ce11c52ae5
4 changed files with 72 additions and 25 deletions

View file

@ -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();