Blender Git Loki

Git Commits -> Revision e81041b

Revision e81041b by Ton Roosendaal (master)
March 26, 2005, 10:59 (GMT)
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! :)

Commit Details:

Full Hash: e81041bb989a84cfe27b8b38fe5d130f1bd22c0a
SVN Revision: 4056
Parent Commit: 9b40577
Lines Changed: +23, -1

1 Modified Path:

/intern/bmfont/intern/BMF_BitmapFont.cpp (+23, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021