Bläddra i källkod

Change a reference variable to be volatile long

Removed some warnings associated with it, was the wrong variable type.
jp9000 11 år sedan
förälder
incheckning
2b4e381c3b
1 ändrade filer med 1 tillägg och 1 borttagningar
  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;