Skip to content

Commit

Permalink
Fixes typo in OpenGL32Util
Browse files Browse the repository at this point in the history
  • Loading branch information
soywiz committed Dec 10, 2022
1 parent 49d80ee commit 33a7ec8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ Bug Fixes
* [#1460](https://github.com/java-native-access/jna/issues/1460): Fix win32 variant date conversion in DST offest window and with millisecond values - [@eranl](https://github.com/eranl).
* [#1472](https://github.com/java-native-access/jna/issues/1472): Fix incorrect bitmask in `c.s.j.Pointer#createConstant(int)` - [@dbwiddis](https://github.com/dbwiddis).
* [#1481](https://github.com/java-native-access/jna/issues/1481): Fix NPE in NativeLibrary when unpacking from classpath is disabled - [@trespasserw](https://github.com/trespasserw).
* [#1489](https://github.com/java-native-access/jna/pull/1489): Fixes typo in `OpenGL32Util` - [@soywiz](https://github.com/soywiz).

Release 5.12.1
==============
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public abstract class OpenGL32Util {
* @return the function
*/
public static Function wglGetProcAddress(String procName) {
Pointer funcPointer = OpenGL32.INSTANCE.wglGetProcAddress("wglEnumGpusNV");
Pointer funcPointer = OpenGL32.INSTANCE.wglGetProcAddress(procName);
return (funcPointer == null) ? null : Function.getFunction(funcPointer);
}

Expand Down

0 comments on commit 33a7ec8

Please sign in to comment.