[ ghc-Bugs-1185509 ] HOpenGL uses wrong calling convention for GLU
callbacks
SourceForge.net
noreply at sourceforge.net
Mon Apr 18 19:15:21 EDT 2005
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 at talk21.com
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1185509&group_id=8032
More information about the Glasgow-haskell-bugs
mailing list