Skip to content

Commit

Permalink
engine: ref_api: comment unused opengl attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
a1batross committed May 12, 2019
1 parent bb8ba42 commit a1391f3
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions engine/ref_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -176,20 +176,20 @@ enum // OpenGL configuration attributes
REF_GL_GREEN_SIZE,
REF_GL_BLUE_SIZE,
REF_GL_ALPHA_SIZE,
REF_GL_BUFFER_SIZE,
REF_GL_DOUBLEBUFFER,
// UNUSED_REF_GL_BUFFER_SIZE,
REF_GL_DOUBLEBUFFER = REF_GL_ALPHA_SIZE + 1,
REF_GL_DEPTH_SIZE,
REF_GL_STENCIL_SIZE,
REF_GL_ACCUM_RED_SIZE,
REF_GL_ACCUM_GREEN_SIZE,
REF_GL_ACCUM_BLUE_SIZE,
REF_GL_ACCUM_ALPHA_SIZE,
REF_GL_STEREO,
REF_GL_MULTISAMPLEBUFFERS,
// UNUSED_REF_GL_ACCUM_RED_SIZE,
// UNUSED_REF_GL_ACCUM_GREEN_SIZE,
// UNUSED_REF_GL_ACCUM_BLUE_SIZE,
// UNUSED_REF_GL_ACCUM_ALPHA_SIZE,
// UNUSED_REF_GL_STEREO,
REF_GL_MULTISAMPLEBUFFERS = REF_GL_STENCIL_SIZE + 5,
REF_GL_MULTISAMPLESAMPLES,
REF_GL_ACCELERATED_VISUAL,
REF_GL_RETAINED_BACKING,
REF_GL_CONTEXT_MAJOR_VERSION,
// UNUSED_REF_GL_RETAINED_BACKING,
REF_GL_CONTEXT_MAJOR_VERSION = REF_GL_ACCELERATED_VISUAL + 1,
REF_GL_CONTEXT_MINOR_VERSION,
REF_GL_CONTEXT_EGL,
REF_GL_CONTEXT_FLAGS,
Expand All @@ -198,7 +198,8 @@ enum // OpenGL configuration attributes
REF_GL_FRAMEBUFFER_SRGB_CAPABLE,
REF_GL_CONTEXT_RELEASE_BEHAVIOR,
REF_GL_CONTEXT_RESET_NOTIFICATION,
REF_GL_CONTEXT_NO_ERROR
REF_GL_CONTEXT_NO_ERROR,
REF_GL_ATTRIBUTES_COUNT,
};

enum
Expand All @@ -208,6 +209,7 @@ enum
REF_GL_CONTEXT_PROFILE_ES = 0x0004 /**< GLX_CONTEXT_ES2_PROFILE_BIT_EXT */
};

// binary compatible with SDL and EGL_KHR_create_context(0x0007 mask)
enum
{
REF_GL_CONTEXT_DEBUG_FLAG = 0x0001,
Expand Down

0 comments on commit a1391f3

Please sign in to comment.