mirror of
https://github.com/n64dev/cen64.git
synced 2025-04-02 10:31:54 -04:00
Replaced all references to simulation with emulation Updated copyright year Updated .gitignore to reduce chances of random files being uploaded to the repo Added .gitattributes to normalize all text files, and to ignore binary files (which includes the logo and the NEC PDF)
34 lines
860 B
C
34 lines
860 B
C
//
|
|
// os/x11/gl_common.h: Common X11/OpenGL header.
|
|
//
|
|
// CEN64: Cycle-Accurate Nintendo 64 Emulator.
|
|
// Copyright (C) 2015, Tyler J. Stachecki.
|
|
//
|
|
// This file is subject to the terms and conditions defined in
|
|
// 'LICENSE', which is part of this source code package.
|
|
//
|
|
|
|
#ifndef CEN64_OS_X11_GL_COMMON
|
|
#define CEN64_OS_X11_GL_COMMON
|
|
#include "common.h"
|
|
#include <GL/gl.h>
|
|
#include <GL/glx.h>
|
|
|
|
enum cen64_gl_context_type {
|
|
CEN64_GL_CONTEXT_TYPE_RGBA = GLX_RGBA_BIT,
|
|
CEN64_GL_CONTEXT_TYPE_COLOR_INDEX = GLX_COLOR_INDEX_BIT
|
|
};
|
|
|
|
enum cen64_gl_drawable_type {
|
|
CEN64_GL_DRAWABLE_TYPE_WINDOW = GLX_WINDOW_BIT,
|
|
CEN64_GL_DRAWABLE_TYPE_BITMAP = GLX_PIXMAP_BIT
|
|
};
|
|
|
|
enum cen64_gl_layer_type {
|
|
CEN64_GL_LAYER_TYPE_DEFAULT = 0,
|
|
CEN64_GL_LAYER_TYPE_OVERLAY = 1,
|
|
CEN64_GL_LAYER_TYPE_UNDERLAY = 2
|
|
};
|
|
|
|
#endif
|
|
|