From ef4c05bd6ccc00ba4295513d8962dd15975b221c Mon Sep 17 00:00:00 2001 From: Ton Roosendaal Date: Wed, 11 Jun 2003 15:11:59 +0000 Subject: [PATCH] - OSX ghost: hand cursor, and it creates an opengl context with AUX buffer --- intern/ghost/intern/GHOST_WindowCarbon.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/intern/ghost/intern/GHOST_WindowCarbon.cpp b/intern/ghost/intern/GHOST_WindowCarbon.cpp index 43cc22f54ed..4f5a76985d2 100644 --- a/intern/ghost/intern/GHOST_WindowCarbon.cpp +++ b/intern/ghost/intern/GHOST_WindowCarbon.cpp @@ -50,10 +50,11 @@ AGLContext GHOST_WindowCarbon::s_firstaglCtx = NULL; const GHOST_TInt32 GHOST_WindowCarbon::s_sizeRectSize = 16; #endif //GHOST_DRAW_CARBON_GUTTER -static const GLint sPreferredFormatWindow[7] = { +static const GLint sPreferredFormatWindow[9] = { AGL_RGBA, GL_TRUE, AGL_DOUBLEBUFFER, GL_TRUE, AGL_DEPTH_SIZE, 16, +AGL_AUX_BUFFERS, 1, AGL_NONE, }; @@ -532,7 +533,7 @@ void GHOST_WindowCarbon::loadCursor(bool visible, GHOST_TStandardCursor cursor) switch (cursor) { default: GCMAP( GHOST_kStandardCursorDefault, kThemeArrowCursor); - GCMAP( GHOST_kStandardCursorRightArrow, kThemeArrowCursor); + GCMAP( GHOST_kStandardCursorRightArrow, kThemeAliasArrowCursor); GCMAP( GHOST_kStandardCursorLeftArrow, kThemeArrowCursor); GCMAP( GHOST_kStandardCursorInfo, kThemeArrowCursor); GCMAP( GHOST_kStandardCursorDestroy, kThemeArrowCursor);