Assorted fixes - compile + drivers:

* Fixed a few compile warnings for scons+mingw
* Driver variables are now added with the ID-type set to ID_OB (objects) by default since this is more convenient
This commit is contained in:
2009-11-25 09:25:58 +00:00
parent ce4b63aa3f
commit 802779eb2d
6 changed files with 16 additions and 8 deletions

View File

@@ -468,8 +468,8 @@ void ui_draw_but_IMAGE(ARegion *ar, uiBut *but, uiWidgetColors *wcol, rcti *rect
extern char datatoc_splash_png[];
extern int datatoc_splash_png_size;
ImBuf *ibuf;
GLint scissor[4];
int w, h;
//GLint scissor[4];
//int w, h;
/* hardcoded to splash, loading and freeing every draw, eek! */
ibuf= IMB_ibImageFromMemory((int *)datatoc_splash_png, datatoc_splash_png_size, IB_rect);