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