jdk/src/java.desktop/windows/classes/sun/java2d/opengl/WGLGraphicsConfig.java
changeset 28234 f694f2576719
parent 25859 3317bb8137f4
child 31661 a5cb86f2253b
equal deleted inserted replaced
28233:9dc3764ed475 28234:f694f2576719
     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;