cvs commit: fptools/libraries/OpenGL/Graphics/Rendering/OpenGL/GL Colors.hs QueryUtils.hs

Sven Panne panne@glass.cse.ogi.edu
Fri, 1 Aug 2003 04:52:11 -0700


panne       2003/08/01 04:52:10 PDT

  Modified files:
    libraries/OpenGL/Graphics/Rendering/OpenGL/GL Colors.hs 
                                                  QueryUtils.hs 
  Log:
  Fixed an embarrassing bug: Due to some rather weakly typed OpenGL C
  prototypes, simply using alloca is not the right when allocaArray is
  actually meant.   :-}
  
  It's a bit of a miracle why this has gone unnoticed for so long, but I
  suspect it is partly due to the fact that newPinnedByteArray/malloc
  often allocate more than is strictly needed due to alignment
  restrictions.
  
  Revision  Changes    Path
  1.18      +2 -2      fptools/libraries/OpenGL/Graphics/Rendering/OpenGL/GL/Colors.hs
  1.22      +8 -8      fptools/libraries/OpenGL/Graphics/Rendering/OpenGL/GL/QueryUtils.hs