Java-Gaming.org Java4K winners: [ by our judges | by the community ]         
Featured games (67)
games approved by the League of Dukes
Games in Showcase (∞)
games submitted by our members



News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  Print  
  WindowsOffScreenGLContext  (Read 754 times)
0 Members and 1 Guest are viewing this topic.
Offline GKW

Sr. Member
**

Posts: 453


Revenge is mine!


« on: 2003-08-13 00:30:01 »

1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
protected synchronized boolean makeCurrent(Runnable initAction) throws GLException {
    if (pendingOffscreenResize) {
      if (pendingOffscreenWidth != width || pendingOffscreenWidth != height) {
        if (hglrc != 0) {
          destroy();
        }
        width  = pendingOffscreenWidth;
        height = pendingOffscreenHeight;
        pendingOffscreenResize = false;
      }
    }
    return super.makeCurrent(initAction);
  }


pendingOffscreenWidth != height?  A typo or an I looking at code way too late at night?
Offline Ken Russell

JGO Kernel
*****

Posts: 3446
Medals: 3


Java games rock!


« Reply #1 on: 2003-08-13 00:50:45 »

Oops. Thanks for pointing this out. It's been fixed in the source tree and the next set of posted binaries will contain the fix.
Pages: [1]
  Print  
 
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.065 seconds with 21 queries.