Move OGL_VIEWPORT assignments above glViewport
This commit is contained in:
parent
4a3abb3ca3
commit
2dfd87f276
|
@ -43,9 +43,9 @@ static inline void OGL_VIEWPORT(const unsigned x, const unsigned y, const unsign
|
|||
{
|
||||
if (w!=last_width || h!=last_height)
|
||||
{
|
||||
last_width = w;
|
||||
last_height = h;
|
||||
glViewport(x,grd_curscreen->sc_canvas.cv_bitmap.bm_h-y-h,w,h);
|
||||
last_width=w;
|
||||
last_height=h;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue