[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gzz-commits] gzz ./NEWS gfx/jni/GzzGL-jni.cxx
From: |
Tuomas J. Lukka |
Subject: |
[Gzz-commits] gzz ./NEWS gfx/jni/GzzGL-jni.cxx |
Date: |
Wed, 04 Sep 2002 04:08:45 -0400 |
CVSROOT: /cvsroot/gzz
Module name: gzz
Changes by: Tuomas J. Lukka <address@hidden> 02/09/04 04:08:45
Modified files:
. : NEWS
gfx/jni : GzzGL-jni.cxx
Log message:
Fix context at init
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/gzz/NEWS.diff?tr1=1.25&tr2=1.26&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/gzz/gfx/jni/GzzGL-jni.cxx.diff?tr1=1.12&tr2=1.13&r1=text&r2=text
Patches:
Index: gzz/NEWS
diff -c gzz/NEWS:1.25 gzz/NEWS:1.26
*** gzz/NEWS:1.25 Wed Sep 4 04:02:13 2002
--- gzz/NEWS Wed Sep 4 04:08:45 2002
***************
*** 2,8 ****
User-visible changes in Gzz
============================
!
The 0.8 Series
=========
--- 2,10 ----
User-visible changes in Gzz
============================
! 0.8alpha2:
! -------
! - "make gzzgl" instead of "make glgzz"
The 0.8 Series
=========
Index: gzz/gfx/jni/GzzGL-jni.cxx
diff -c gzz/gfx/jni/GzzGL-jni.cxx:1.12 gzz/gfx/jni/GzzGL-jni.cxx:1.13
*** gzz/gfx/jni/GzzGL-jni.cxx:1.12 Wed Sep 4 04:02:13 2002
--- gzz/gfx/jni/GzzGL-jni.cxx Wed Sep 4 04:08:45 2002
***************
*** 194,204 ****
DBG(dbg) << "Creating one new window for initialization purposes\n";
defaultWindow = ws->openWindow(0, 0, 2, 2);
DBG(dbg) << "Setting it current to get a gl context";
- if(!defaultWindow->setCurrent()) {
- cerr << "Couldn't (init) set defaultwindow current!!!";
- exit(17);
- }
GZZJNIEventHandler *eh = new GZZJNIEventHandler(env, 0);
eh = eh; // eat warning
--- 194,201 ----
DBG(dbg) << "Creating one new window for initialization purposes\n";
defaultWindow = ws->openWindow(0, 0, 2, 2);
DBG(dbg) << "Setting it current to get a gl context";
+ setWindow();
GZZJNIEventHandler *eh = new GZZJNIEventHandler(env, 0);
eh = eh; // eat warning