Browse Source

Change a reference variable to be volatile long

Removed some warnings associated with it, was the wrong variable type.
jp9000 11 years ago
parent
commit
2b4e381c3b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      libobs-opengl/gl-subsystem.h

+ 1 - 1
libobs-opengl/gl-subsystem.h

@@ -274,7 +274,7 @@ extern void convert_sampler_info(struct gs_sampler_state *sampler,
 
 struct gs_sampler_state {
 	device_t             device;
-	volatile uint32_t    ref;
+	volatile long        ref;
 
 	GLint                min_filter;
 	GLint                mag_filter;