Permalink
Browse files

more __gshared fixes

  • Loading branch information...
1 parent 4f41b9e commit bf72421f6282a6235701e35f80a0106be891a5aa @p0nce p0nce committed Jun 19, 2012
Showing with 6 additions and 2 deletions.
  1. +6 −2 import/derelict/opengl3/arb.d
@@ -1363,8 +1363,12 @@ private void load_ARB_vertex_type_2_10_10_10_rev()
// ARB_draw_indirect
extern(System) alias nothrow void function(GLenum, const(GLvoid)*) da_glDrawArraysIndirect;
extern(System) alias nothrow void function(GLenum, GLenum, const(GLvoid)*) da_glDrawElementsIndirect;
-da_glDrawArraysIndirect glDrawArraysIndirect;
-da_glDrawElementsIndirect glDrawElementsIndirect;
+
+__gshared
+{
+ da_glDrawArraysIndirect glDrawArraysIndirect;
+ da_glDrawElementsIndirect glDrawElementsIndirect;
+}
private __gshared bool _ARB_draw_indirect;
bool ARB_draw_indirect() @property { return _ARB_draw_indirect; }

0 comments on commit bf72421

Please sign in to comment.