Ticket #1009 (closed defect: fixed)

Opened 20 months ago

Last modified 20 months 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:

Description

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 20 months ago by Hans-Martin

Replying to Hans-Martin:

the function initGlut()

oops that should have been glutInit() of course.

comment:2 Changed 20 months 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.