equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2004, 2008, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2004, 2014, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
79 |
79 |
80 static { |
80 static { |
81 wglAvailable = initWGL(); |
81 wglAvailable = initWGL(); |
82 } |
82 } |
83 |
83 |
|
84 @SuppressWarnings("deprecation") |
84 protected WGLGraphicsConfig(Win32GraphicsDevice device, int visualnum, |
85 protected WGLGraphicsConfig(Win32GraphicsDevice device, int visualnum, |
85 long configInfo, ContextCapabilities oglCaps) |
86 long configInfo, ContextCapabilities oglCaps) |
86 { |
87 { |
87 super(device, visualnum); |
88 super(device, visualnum); |
88 this.pConfigInfo = configInfo; |
89 this.pConfigInfo = configInfo; |