Ticket #1009 (closed defect: fixed)

Opened 5 years ago

Last modified 5 years ago

initGlut is called with incorrect parameters in examples/opengl-ffi.lisp

Reported by: Hans-Martin Owned by:
Priority: normal Milestone:
Component: other Version: trunk
Keywords: examples Cc:


the function initGlut() must be called with a pointer to a variable containing argc and a pointer to argv. Instead, it is being called with a pointer to a pointer to argv (line 45 in examples/opengl-ffi.lisp). Simplest fix is to remove the creation and initialization of argvp, and to change line 45 to read (#_glutInit argcp argv)))

Cheers, Hans-Martin

Change History

comment:1 in reply to: ↑ description Changed 5 years ago by Hans-Martin

Replying to Hans-Martin:

the function initGlut()

oops that should have been glutInit() of course.

comment:2 Changed 5 years ago by gb

  • Status changed from new to closed
  • Resolution set to fixed

(In [15450]) Unscramble #_glutInit arguments. Fixes ticket:1009 in the trunk. Conditionalize startup code for Darwin/Linux?.

Note: See TracTickets for help on using tickets.