From 9f84ef2686feab6c82f7f523319fda65ff077962 Mon Sep 17 00:00:00 2001 From: tomsmeding Date: Fri, 30 Dec 2016 21:04:57 +0100 Subject: Have draw_text working with SFML --- object_base.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'object_base.cpp') diff --git a/object_base.cpp b/object_base.cpp index 18d7e3a..ce97f2a 100644 --- a/object_base.cpp +++ b/object_base.cpp @@ -21,12 +21,12 @@ void Object::destroy(void){} void Object::step(void){} void Object::draw(void){ - if(!sprite_index){ + /*if(!sprite_index){ return; } if(!sprite_index->fl_image){ sprite_index->fl_image=new Fl_PNG_Image(nullptr,sprite_index->image,sprite_index->image_len); assert(!sprite_index->fl_image->fail()); } - sprite_index->fl_image->draw((int)x,(int)y); + sprite_index->fl_image->draw((int)x,(int)y);*/ } -- cgit v1.2.3-70-g09d2