logo       

[ ghc-Bugs-1185509 ] HOpenGL uses wrong calling convention for GLU callback: msg#00082

lang.haskell.glasgow.bugs

Subject: [ ghc-Bugs-1185509 ] HOpenGL uses wrong calling convention for GLU callbacks

Bugs item #1185509, was opened at 2005-04-18 16:15
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1185509&group_id=8032

Category: libraries (other)
Group: 6.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: HOpenGL uses wrong calling convention for GLU callbacks

Initial Comment:
on windows (seen on 98&xp), the red book examples
Tess and TessWind (from GLUT/examples/RedBook/)
crash with a segv.

Fix (tested on win xp only):
in
OpenGL/Graphics/Rendering/OpenGL/GLU/Tesselation.h
s,
change ccall to CALLCONV (which will be stdcall in this
case) for all foreign import "wrapper" callback generators.

http://www.haskell.org//pipermail/hopengl/2005-
April/000610.html

claus.reinke@xxxxxxxxxx

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1185509&group_id=8032


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise