From b4b10dfff879126e47016318cf9eaa9bc2e1d59c Mon Sep 17 00:00:00 2001 From: Ton Roosendaal Date: Mon, 7 Jul 2003 15:50:44 +0000 Subject: * removed the global uiFrontbuf from interface.c (and python, it was used there) * replaced with nice local (uiBlock) storage of what goes on in drawing. it now only calls a glDrawBuffer() and glFinish() when it is actually needed Result: interface drawing in general is speedy again, especially for gfx cards that dont allow frontbuffer drawing, and copy stuff to the frontbuf with a glFinish() call. Needs to be tested on all platforms... report to me when you see problems like menus not drawing correctly, tooltips not drawing or not disappearing, etc. --- source/blender/include/interface.h | 1 - 1 file changed, 1 deletion(-) (limited to 'source/blender/include/interface.h') diff --git a/source/blender/include/interface.h b/source/blender/include/interface.h index 174093e727a..f820af5ddd4 100644 --- a/source/blender/include/interface.h +++ b/source/blender/include/interface.h @@ -43,7 +43,6 @@ #define UI_HELV 0 #define UI_HELVB 1 - /* Button types */ #define CHA 32 #define SHO 64 -- cgit v1.2.3