aboutsummaryrefslogtreecommitdiff
path: root/generic/WidgetInfo.h
diff options
context:
space:
mode:
authorlemort2008-01-15 16:31:46 +0000
committerlemort2008-01-15 16:31:46 +0000
commite5d991bba3fceb7f2a0e2f7a7c98ab41f7412f59 (patch)
treed427fc66698672800421f74c081064b5c02a9da5 /generic/WidgetInfo.h
parent01cffb44feca63f14616535e0b51eec7f8aad39c (diff)
downloadtkzinc-e5d991bba3fceb7f2a0e2f7a7c98ab41f7412f59.zip
tkzinc-e5d991bba3fceb7f2a0e2f7a7c98ab41f7412f59.tar.gz
tkzinc-e5d991bba3fceb7f2a0e2f7a7c98ab41f7412f59.tar.bz2
tkzinc-e5d991bba3fceb7f2a0e2f7a7c98ab41f7412f59.tar.xz
Integration d'un mecanisme d'optimisation compatible avec les cartes non-Nvidia. Ce mecanisme est plus lent que le mecanisme de GL_DAMAGE mais il demeure plus rapide que le redessin complet de la scene.
Le nouveau mecanisme elimine le souci des traces noires avec les cartes ATI
Diffstat (limited to 'generic/WidgetInfo.h')
-rw-r--r--generic/WidgetInfo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/WidgetInfo.h b/generic/WidgetInfo.h
index 6b34ba7..813da14 100644
--- a/generic/WidgetInfo.h
+++ b/generic/WidgetInfo.h
@@ -203,7 +203,7 @@ typedef struct _ZnWInfo {
ZnBool full_reshape; /* Use it on the top level window. */
Window real_top;
int render;
- ZnBool usedamage; /* Use GL damage (only works if render is to 1 ie if we use GL) */
+ int usedamage; /* Use GL damage (only works if render is to 1 ie if we use GL) */
unsigned char alpha; /* Current composite group alpha. */
ZnItem top_group;
#ifndef PTK_800