[Bf-blender-cvs] CVS commit: blender/intern/bmfont/intern BMF_BitmapFont.cpp

Ton Roosendaal ton at blender.org
Sat Mar 26 11:59:49 CET 2005


ton (Ton Roosendaal) 2005/03/26 11:59:49 CET

  Modified files:
    blender/intern/bmfont/intern BMF_BitmapFont.cpp 
  
  Log:
  TEMPORAL HACK!!!
  
  Added the is_a_really_crappy_nvidia_card() call in BMF_DrawString(), this
  to solve a bug in NVidia 6800 drivers of MacOSX G5. It is #ifdeffed for
  OSX only, and queries for a NVidia 6800 card to activate the patch.
  
  The issue is that these drivers forgot to correctly implement viewport()
  offset for drawing bitmap fonts, causing text display in Blender to be
  invisible, except for the leftmost/bottom sub window.
  
  This hack will be removed when Apple releases a driver upgrade, which is
  unknown when to happen. Has to be decided still if this is worth for a
  release, or that we provide the hack as separate download.
  
  Thanks Randall Rickert for all testing, and Daniel for code review! :)
  
  Revision  Changes    Path
  1.5       +25 -3     blender/intern/bmfont/intern/BMF_BitmapFont.cpp
    <http://projects.blender.org/viewcvs/viewcvs.cgi/blender/intern/bmfont/intern/BMF_BitmapFont.cpp.diff?r1=1.4&r2=1.5&cvsroot=bf-blender>



More information about the Bf-blender-cvs mailing list