Ticket #853: load-opengl.patch

File load-opengl.patch, 1.8 KB (added by fperrad, 13 years ago)
  • config/gen/makefiles/root.in

     
    277277    $(LIBRARY_DIR)/NCI/call_toolkit_init.pbc \ 
    278278    $(LIBRARY_DIR)/ncurses.pbc \ 
    279279#IF(has_opengl):    $(LIBRARY_DIR)/OpenGL.pbc \ 
    280 #IF(has_opengl):    $(LIBRARY_DIR)/OpenGL_funcs.pbc \ 
    281280#IF(has_opengl):    $(LIBRARY_DIR)/OpenGL/Math.pbc \ 
    282281    $(LIBRARY_DIR)/P6object.pbc \ 
    283282    $(LIBRARY_DIR)/parrotlib.pbc \ 
  • MANIFEST.generated

     
    153153runtime/parrot/library/MIME/Base64.pbc            [main] 
    154154runtime/parrot/library/NCI/call_toolkit_init.pbc  [main] 
    155155runtime/parrot/library/ncurses.pbc                [main] 
    156 runtime/parrot/library/OpenGL_funcs.pir           [main] 
    157 runtime/parrot/library/OpenGL_funcs.pbc           [main] 
    158156runtime/parrot/library/OpenGL.pbc                 [main] 
    159157runtime/parrot/library/P6object.pbc               [main] 
    160158runtime/parrot/library/Parrot/Capture_PIR.pbc     [main] 
  • runtime/parrot/library/OpenGL.pir

     
    8080 
    8181.namespace ['OpenGL'] 
    8282 
     83.include 'runtime/parrot/library/OpenGL_funcs.pir' 
     84 
    8385=item _opengl_init() 
    8486 
    8587At module load time, calls the other initialization routines in the proper 
     
    8890=cut 
    8991 
    9092.sub _opengl_init :load 
    91     load_bytecode 'OpenGL_funcs.pbc' 
    9293    _load_opengl_libs() 
    9394    _wrap_opengl_entry_points() 
    9495    _export_opengl_functions()