From e55e12f14ce0dbdec57ef64efc77da0c8e590fe2 Mon Sep 17 00:00:00 2001
From: Kenneth Russel <kbrussel@alum.mit.edu>
Date: Tue, 24 May 2005 21:53:37 +0000
Subject: Fixed remaining bug in GLJPanel where resize operations did not cause
 the underlying GLCanvas to be destroyed in the hardware-accelerated path, so
 textures and display lists lingered on

git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@279 232f8b59-042b-4e1e-8c03-345bb8c30851
---
 src/net/java/games/jogl/impl/windows/WindowsPbufferGLContext.java | 3 +++
 1 file changed, 3 insertions(+)

(limited to 'src/net/java/games/jogl/impl/windows/WindowsPbufferGLContext.java')

diff --git a/src/net/java/games/jogl/impl/windows/WindowsPbufferGLContext.java b/src/net/java/games/jogl/impl/windows/WindowsPbufferGLContext.java
index b171bd209..61d62c82b 100644
--- a/src/net/java/games/jogl/impl/windows/WindowsPbufferGLContext.java
+++ b/src/net/java/games/jogl/impl/windows/WindowsPbufferGLContext.java
@@ -177,6 +177,9 @@ public class WindowsPbufferGLContext extends WindowsGLContext {
         ati = true;
         floatMode = GLPbuffer.ATI_FLOAT;
       }
+      if (DEBUG) {
+        System.err.println("Using " + (ati ? "ATI" : "NVidia") + " floating-point extension");
+      }
     }
 
     if (useFloat && ati) {
-- 
cgit v1.2.3