Opened 8 years ago

Closed 8 years ago

#1009 closed defect (fixed)

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 (2)

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

Replying to Hans-Martin:

the function initGlut()

oops that should have been glutInit() of course.

comment:2 Changed 8 years ago by gb

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

(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.