Blender Git Loki

Git Commits -> Revision eac4e86

Revision eac4e86 by Ton Roosendaal (master)
July 10, 2004, 21:35 (GMT)
Long on the todolist: a patch to have pointsize working on systems that
don't have them larger than 1, since vertices are drawn with it.

It is solved by patching code with minimal confusement. So you can get
automatic patched glPoints with:

bglBegin(GL_POINTS);
bglVertex3fv(vector);
bglEnd();

In glutil.c the wrapper can be found, that checks for maximum Pointsize,
and bypasses it to a glBitmap then.

Commit Details:

Full Hash: eac4e86539b4cba3d4756a86783037ed0b3bea38
SVN Revision: 2775
Parent Commit: d5272c6
Lines Changed: +113, -50

7 Modified Paths:

/source/blender/include/BIF_glutil.h (+7, -0) (Diff)
/source/blender/include/BIF_interface.h (+3, -0) (Diff)
/source/blender/src/buttons_shading.c (+0, -10) (Diff)
/source/blender/src/drawimage.c (+12, -12) (Diff)
/source/blender/src/drawipo.c (+7, -7) (Diff)
/source/blender/src/drawobject.c (+22, -21) (Diff)
/source/blender/src/glutil.c (+62, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021