diff --git a/libobs-opengl/gl-subsystem.h b/libobs-opengl/gl-subsystem.h index 9d18a6893c9203c8dbe3eb7f577d7c80b17fca44..2119debb5bdb0fe97bf91b4d503932930bd7c348 100644 --- a/libobs-opengl/gl-subsystem.h +++ b/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;