From 52dd1dbe2f5d305e02c701d4ea94d9eac1d2eb69 Mon Sep 17 00:00:00 2001 From: Jonas Kulla Date: Thu, 17 Oct 2013 15:28:43 +0200 Subject: [PATCH] Bitmap: Add warning to 'flush()' --- src/bitmap.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/bitmap.h b/src/bitmap.h index 119808b..9a3be5d 100644 --- a/src/bitmap.h +++ b/src/bitmap.h @@ -105,6 +105,8 @@ public: DECL_ATTR(Font, Font*) /* */ + /* Warning: Flushing might change the current + * FBO binding (so don't call it during 'draw()' routines */ void flush() const; TEXFBO &getGLTypes(); SDL_Surface *megaSurface() const;