diff options
author | Mike Erwin <significant.bit@gmail.com> | 2017-03-22 00:49:21 +0300 |
---|---|---|
committer | Mike Erwin <significant.bit@gmail.com> | 2017-03-22 00:49:21 +0300 |
commit | 6d2aca5a96efd8ac61eec633c43a41e641379a68 (patch) | |
tree | de0d38249d8b439bf360ceb8d77f8112d4047f9e /source/blender/blenfont/intern/blf.c | |
parent | 7aad5cf573a964753b37573c5a2ea12af5d5952a (diff) |
OpenGL: convert to new matrix API (part 5)
Pretty sure source/blender is now finished, with all legacy matrix calls confined to gpu_matrix.c.
This was the easy part, but doing it first makes the next part much easier. TODO and XXX notes describe what is left.
glMatrixMode is still in place, since the new API does not share this concept of modes. Similar for glOrtho and glFrustum which I'll tackle very soon.
Part of T49450
Diffstat (limited to 'source/blender/blenfont/intern/blf.c')
-rw-r--r-- | source/blender/blenfont/intern/blf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenfont/intern/blf.c b/source/blender/blenfont/intern/blf.c index ab7c831f95c..17b353d48c2 100644 --- a/source/blender/blenfont/intern/blf.c +++ b/source/blender/blenfont/intern/blf.c @@ -555,7 +555,7 @@ static void blf_draw_gl__start(FontBLF *font) gpuMatrixBegin3D_legacy(); if (font->flags & BLF_MATRIX) - gpuMultMatrix3D((float (*)[4])font->m); + gpuMultMatrix3D(font->m); gpuTranslate3fv(font->pos); |