Bugzilla – Attachment 381 Details for
Bug 638
Problem requesting non-hardware-accelerated capabilities on a device capable of hardware acceleration
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for WindowsWGLGraphicsConfigurationFactory.java
updateGraphicsConfiguration_skipARB.patch (text/plain), 1.01 KB, created by
Jonas Thedering
on 2012-11-09 11:54:43 CET
(
hide
)
Description:
Patch for WindowsWGLGraphicsConfigurationFactory.java
Filename:
MIME Type:
Creator:
Jonas Thedering
Created:
2012-11-09 11:54:43 CET
Size:
1.01 KB
patch
obsolete
>diff --git a/src/jogl/classes/jogamp/opengl/windows/wgl/WindowsWGLGraphicsConfigurationFactory.java b/src/jogl/classes/jogamp/opengl/windows/wgl/WindowsWGLGraphicsConfigurationFactory.java >index 7b3bc3a..8c5ea12 100644 >--- a/src/jogl/classes/jogamp/opengl/windows/wgl/WindowsWGLGraphicsConfigurationFactory.java >+++ b/src/jogl/classes/jogamp/opengl/windows/wgl/WindowsWGLGraphicsConfigurationFactory.java >@@ -284,7 +284,8 @@ public class WindowsWGLGraphicsConfigurationFactory extends GLGraphicsConfigurat > } > } > try { >- if( !updateGraphicsConfigurationARB((WindowsWGLDrawableFactory)factory, config, chooser, hdc, extHDC, pfdIDs) ) { >+ if( !((GLCapabilitiesImmutable)config.getChosenCapabilities()).getHardwareAccelerated() >+ || !updateGraphicsConfigurationARB((WindowsWGLDrawableFactory)factory, config, chooser, hdc, extHDC, pfdIDs) ) { > updateGraphicsConfigurationGDI(config, chooser, hdc, extHDC, pfdIDs); > } > } finally {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 638
:
381
|
382