Skip to content

Commit

Permalink
switching to GLXGetProcaddressARB hack
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandrus committed Oct 4, 2012
1 parent 46a5666 commit 4777771
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/xlib/glx.adb
@@ -1,5 +1,4 @@
with Ada.Text_IO; use Ada.Text_IO;

package body glX is

function Conv is new Ada.Unchecked_Conversion(System.Address,GLXGetProcAddressARB_Access);
Expand Down
2 changes: 1 addition & 1 deletion src/xlib/glx.ads
Expand Up @@ -148,7 +148,7 @@ package glX is
function glXGetProcAddress
(procName : access Interfaces.C.char)
return System.Address;
pragma Import(C,glXGetProcAddress,"glXGetProcAddress");
pragma Import(C,glXGetProcAddress,"glXGetProcAddressARB");

function glXChooseFBConfig
(dpy : Display_Access;
Expand Down

0 comments on commit 4777771

Please sign in to comment.