mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-13 09:35:23 -04:00
IRIX build fixes
This commit is contained in:
parent
92c35cb04c
commit
744ea58b9d
@ -7,7 +7,8 @@
|
||||
#include "_GraphicsBase.h"
|
||||
#include "Errors.h"
|
||||
#include "Window.h"
|
||||
#ifdef CC_BUILD_WIN
|
||||
|
||||
#if defined CC_BUILD_WIN
|
||||
#define CC_BUILD_GL11_FALLBACK
|
||||
#endif
|
||||
|
||||
|
@ -54,7 +54,8 @@
|
||||
/* XIM support based off details described in */
|
||||
/* https://tedyin.com/posts/a-brief-intro-to-linux-input-method-framework/ */
|
||||
#endif
|
||||
#ifdef CC_BUILD_HPUX
|
||||
|
||||
#if defined CC_BUILD_HPUX || defined CC_BUILD_IRIX
|
||||
#undef CC_BUILD_XIM
|
||||
#endif
|
||||
|
||||
@ -383,7 +384,7 @@ static void DoCreateWindow(int width, int height) {
|
||||
Window win = XCreateWindow(win_display, win_rootWin, x, y, width, height,
|
||||
0, win_visual.depth /* CopyFromParent*/, InputOutput, win_visual.visual,
|
||||
#ifdef CC_BUILD_IRIX
|
||||
CWColormap | CWEventMask | CWBlackPixel | CWBorderPixel, &attributes);
|
||||
CWColormap | CWEventMask | CWBackPixel | CWBorderPixel, &attributes);
|
||||
#else
|
||||
/* Omitting black/border pixels produces nicer looking resizing on some WMs */
|
||||
CWColormap | CWEventMask, &attributes);
|
||||
|
Loading…
x
Reference in New Issue
Block a user