[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gzz-commits] gzz/gfx/libos Os-GLX.cxx
From: |
Matti Katila |
Subject: |
[Gzz-commits] gzz/gfx/libos Os-GLX.cxx |
Date: |
Thu, 12 Sep 2002 10:10:48 -0400 |
CVSROOT: /cvsroot/gzz
Module name: gzz
Changes by: Matti Katila <address@hidden> 02/09/12 10:10:48
Modified files:
gfx/libos : Os-GLX.cxx
Log message:
fix framework for extended gl calls.
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/gzz/gfx/libos/Os-GLX.cxx.diff?tr1=1.7&tr2=1.8&r1=text&r2=text
Patches:
Index: gzz/gfx/libos/Os-GLX.cxx
diff -c gzz/gfx/libos/Os-GLX.cxx:1.7 gzz/gfx/libos/Os-GLX.cxx:1.8
*** gzz/gfx/libos/Os-GLX.cxx:1.7 Tue Sep 10 05:53:15 2002
--- gzz/gfx/libos/Os-GLX.cxx Thu Sep 12 10:10:47 2002
***************
*** 29,34 ****
--- 29,35 ----
using std::cerr;
using std::cout;
+ using std::string;
using std::vector;
typedef Mosaic::Raster<Mosaic::Format::RGBA> ImageRaster;
***************
*** 491,496 ****
--- 492,504 ----
}
gdk_pixbuf_unref(pb);
return ImageRaster(w, h, data);
+ }
+
+
+
+
+ void (* getExtendedProcAddress(string s)) (void) {
+ return glXGetProcAddressARB( (const GLubyte *) (s.c_str()) );
}
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gzz-commits] gzz/gfx/libos Os-GLX.cxx,
Matti Katila <=