cen64/os/common/gl_hints.h
Derek "Turtle" Roe c4afd44ed7 See long description
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)
2015-07-03 08:18:16 -04:00

41 lines
956 B
C

//
// os/common/gl_hints.h: OpenGL configuration hints.
//
// 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_COMMON_GL_HINTS
#define CEN64_OS_COMMON_GL_HINTS
#include "gl_common.h"
struct cen64_gl_hints {
enum cen64_gl_context_type context_type;
enum cen64_gl_drawable_type drawable_type;
int double_buffered;
int stereoscopic;
// Color depths.
int rgb_color_depth;
int alpha_color_depth;
// Buffer sizes, counts.
int depth_buffer_size;
int num_aux_buffers;
int stencil_buffer_size;
// Accumulation buffer bits.
int accum_buffer_red_bits;
int accum_buffer_green_bits;
int accum_buffer_blue_bits;
int accum_buffer_alpha_bits;
};
typedef struct cen64_gl_hints cen64_gl_hints;
extern const cen64_gl_hints cen64_default_gl_hints;
#endif