From ac69245dc22fb18a899e00658b662fab7ae9d079 Mon Sep 17 00:00:00 2001 From: cxgeorge <> Date: Fri, 6 Jul 2001 21:08:20 +0000 Subject: [PATCH] load ident --- panda/src/wgldisplay/wglGraphicsWindow.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/panda/src/wgldisplay/wglGraphicsWindow.cxx b/panda/src/wgldisplay/wglGraphicsWindow.cxx index de5d059dc8..accf9c95e4 100644 --- a/panda/src/wgldisplay/wglGraphicsWindow.cxx +++ b/panda/src/wgldisplay/wglGraphicsWindow.cxx @@ -911,10 +911,10 @@ void wglGraphicsWindow::end_frame(void) { glMatrixMode(GL_MODELVIEW); glPushMatrix(); - glLoadMatrixf(LMatrix4f::ident_mat().get_data()); + glLoadIdentity(); glMatrixMode(GL_PROJECTION); glPushMatrix(); - glLoadMatrixf(LMatrix4f::ident_mat().get_data()); + glLoadIdentity(); glOrtho(_props._xorg,_props._xorg+_props._xsize, _props._yorg,_props._yorg+_props._ysize,-1.0,1.0);