Skip to content

Commit

Permalink
Removed bitfields for full ints.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Dec 2, 2008
1 parent c38d13f commit 576ddcb
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 23 deletions.
18 changes: 9 additions & 9 deletions mojoshader.c
Expand Up @@ -420,15 +420,15 @@ struct Context
int sampler_count;
RegisterList samplers;
VariableList *variables; // variables to register mapping.
int centroid_allowed:1;
int have_ctab:1;
int determined_constants_arrays:1;
int predicated:1;
int support_nv2:1;
int support_nv3:1;
int support_nv4:1;
int support_glsl120:1;
int glsl_generated_lit_opcode:1;
int centroid_allowed;
int have_ctab;
int determined_constants_arrays;
int predicated;
int support_nv2;
int support_nv3;
int support_nv4;
int support_glsl120;
int glsl_generated_lit_opcode;
};


Expand Down
28 changes: 14 additions & 14 deletions mojoshader_opengl.c
Expand Up @@ -154,20 +154,20 @@ struct MOJOSHADER_glContext
char profile[16];

// Extensions...
int have_base_opengl:1;
int have_GL_ARB_vertex_program:1;
int have_GL_ARB_fragment_program:1;
int have_GL_NV_vertex_program2_option:1;
int have_GL_NV_fragment_program2:1;
int have_GL_NV_vertex_program3:1;
int have_GL_NV_gpu_program4:1;
int have_GL_ARB_shader_objects:1;
int have_GL_ARB_vertex_shader:1;
int have_GL_ARB_fragment_shader:1;
int have_GL_ARB_shading_language_100:1;
int have_GL_NV_half_float:1;
int have_GL_ARB_half_float_vertex:1;
int have_GL_OES_vertex_half_float:1;
int have_base_opengl;
int have_GL_ARB_vertex_program;
int have_GL_ARB_fragment_program;
int have_GL_NV_vertex_program2_option;
int have_GL_NV_fragment_program2;
int have_GL_NV_vertex_program3;
int have_GL_NV_gpu_program4;
int have_GL_ARB_shader_objects;
int have_GL_ARB_vertex_shader;
int have_GL_ARB_fragment_shader;
int have_GL_ARB_shading_language_100;
int have_GL_NV_half_float;
int have_GL_ARB_half_float_vertex;
int have_GL_OES_vertex_half_float;

// Entry points...
PFNGLGETSTRINGPROC glGetString;
Expand Down

0 comments on commit 576ddcb

Please sign in to comment.