Search
lxdream.org :: lxdream/src/drivers/video_gtk.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/drivers/video_gtk.c
changeset 1251:b8ab59d39756
prev1236:d93175c36387
next1287:dac8f363f1fe
author nkeynes
date Sat Mar 03 16:11:28 2012 +1000 (10 years ago)
permissions -rw-r--r--
last change Support depth component 16 as well as 24 (add capability flag for the available bits)
Put remaining TODOs inside HAVE_OPENGL_FIXEDFUNC blocks
Add swap-buffer calls for EGL (does not appear to support rendering directly
to front-buffer)
file annotate diff log raw
1.1 --- a/src/drivers/video_gtk.c Fri Feb 24 21:17:47 2012 +1000
1.2 +++ b/src/drivers/video_gtk.c Sat Mar 03 16:11:28 2012 +1000
1.3 @@ -144,7 +144,7 @@
1.4
1.5 gboolean video_gtk_resize_callback(GtkWidget *widget, GdkEventConfigure *event, gpointer data )
1.6 {
1.7 - gl_set_video_size(event->width, event->height);
1.8 + gl_set_video_size(event->width, event->height, 0);
1.9 pvr2_draw_frame();
1.10 return TRUE;
1.11 }
1.12 @@ -278,7 +278,7 @@
1.13 return FALSE;
1.14 }
1.15
1.16 - gl_set_video_size(gtk_video_drawable->allocation.width, gtk_video_drawable->allocation.height);
1.17 + gl_set_video_size(gtk_video_drawable->allocation.width, gtk_video_drawable->allocation.height, 0);
1.18 #ifdef HAVE_OSMESA
1.19 video_gdk_init_driver( &display_gtk_driver );
1.20 #else
.