diff options
author | Brian Paul <[email protected]> | 2002-06-16 01:11:10 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2002-06-16 01:11:10 +0000 |
commit | d834e8da8847dd411d189684c56e1d7960f97303 (patch) | |
tree | bd8c7a61129aa81127a09d983a559bbfbc3d6c54 /src | |
parent | 8816c70a6116d790da856d8d18228d4013e7b8d6 (diff) |
fixed window size initialization bug
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/x11/xm_api.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mesa/drivers/x11/xm_api.c b/src/mesa/drivers/x11/xm_api.c index 46e7454b971..288eeff6b9f 100644 --- a/src/mesa/drivers/x11/xm_api.c +++ b/src/mesa/drivers/x11/xm_api.c @@ -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; |