Skip to content
This repository has been archived by the owner on Jun 9, 2018. It is now read-only.

Commit

Permalink
fix OpenGL initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
fperrad committed Aug 15, 2009
1 parent 10494aa commit ebbf856
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/glut.pir
Expand Up @@ -31,7 +31,7 @@ see F<runtime/parrot/library/OpenGL.pir>.
.sub 'luaopen_glut'
# print "luaopen_glut\n"
load_bytecode 'OpenGL.pbc'
load_bytecode 'NCI/call_toolkit_init.pbc'
load_bytecode 'NCI/Utils.pbc'

# Import all OpenGL/GLU/GLUT functions
$P0 = get_root_global ['parrot';'OpenGL'], '_export_all_functions'
Expand Down Expand Up @@ -199,7 +199,7 @@ not LuaGL
.local pmc argv
new argv, 'ResizableStringArray'
.const 'Sub' glutInit = 'glutInit'
$P0 = get_hll_global ['NCI'], 'call_toolkit_init'
$P0 = get_root_global ['parrot';'NCI'; 'Utils'], 'call_toolkit_init'
$P0(glutInit, argv)
.end

Expand Down

0 comments on commit ebbf856

Please sign in to comment.