mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 05:58:05 +02:00
fixed window size initialization bug
This commit is contained in:
parent
8816c70a61
commit
d834e8da88
1 changed files with 3 additions and 1 deletions
|
|
@ -1,4 +1,4 @@
|
|||
/* $Id: xm_api.c,v 1.37 2002/06/13 04:28:30 brianp Exp $ */
|
||||
/* $Id: xm_api.c,v 1.38 2002/06/16 01:11:10 brianp Exp $ */
|
||||
|
||||
/*
|
||||
* Mesa 3-D graphics library
|
||||
|
|
@ -1277,6 +1277,8 @@ static GLboolean initialize_visual_and_buffer( int client,
|
|||
get_drawable_size( v->display, window, &w, &h );
|
||||
b->width = w;
|
||||
b->height = h;
|
||||
b->mesa_buffer.Width = w;
|
||||
b->mesa_buffer.Height = h;
|
||||
|
||||
b->frontbuffer = window;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue