Correct function Fl_GDI_Graphics_Driver::gc(void*) that did not update the global variable fl_gc correctly.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@12017 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Manolo Gouy 2016-10-06 17:03:30 +00:00
parent b20e646676
commit 311c7d9b24

View File

@ -49,7 +49,7 @@ public:
virtual ~Fl_GDI_Graphics_Driver() { if (p) free(p); }
virtual int has_feature(driver_feature mask) { return mask & NATIVE; }
char can_do_alpha_blending();
virtual void gc(void *ctxt) {if (ctxt != gc_) global_gc(); gc_ = (HDC)ctxt;}
virtual void gc(void *ctxt) { gc_ = (HDC)ctxt; global_gc(); }
virtual void *gc() {return gc_;}
// --- bitmap stuff