diff options
author | Ton Roosendaal <ton@blender.org> | 2006-12-20 21:29:23 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2006-12-20 21:29:23 +0300 |
commit | 5ffa4dd55a9a3fee495e60b61880dcb5fff9c8ec (patch) | |
tree | 5fc7cf79b08a5f5508acf42aa155c82e29cbad1d /source/gameengine/BlenderRoutines/KX_BlenderGL.cpp | |
parent | 674289096b435b215e978efe8c23d4eaa236efd1 (diff) |
Warning fixes for previous Image commit, also fixed verse_image.c
Diffstat (limited to 'source/gameengine/BlenderRoutines/KX_BlenderGL.cpp')
-rw-r--r-- | source/gameengine/BlenderRoutines/KX_BlenderGL.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/gameengine/BlenderRoutines/KX_BlenderGL.cpp b/source/gameengine/BlenderRoutines/KX_BlenderGL.cpp index da3bda0a220..8f7609aed74 100644 --- a/source/gameengine/BlenderRoutines/KX_BlenderGL.cpp +++ b/source/gameengine/BlenderRoutines/KX_BlenderGL.cpp @@ -74,6 +74,7 @@ #include "BKE_global.h" #include "BKE_bmfont.h" +#include "BKE_image.h" #include "BIF_gl.h" extern "C" { @@ -141,7 +142,7 @@ void BL_RenderText(int mode,const char* textstr,int textlen,struct MTFace* tface // space starts at offset 1 // character = character - ' ' + 1; - matrixGlyph(ima->ibuf, character, & centerx, ¢ery, &sizex, &sizey, &transx, &transy, &movex, &movey, &advance); + matrixGlyph((ImBuf *)ima->ibufs.first, character, & centerx, ¢ery, &sizex, &sizey, &transx, &transy, &movex, &movey, &advance); glBegin(GL_POLYGON); // printf(" %c %f %f %f %f\n", character, tface->uv[0][0], tface->uv[0][1], ); |