diff options
Diffstat (limited to 'linden/indra/llrender/llimagegl.h')
-rw-r--r-- | linden/indra/llrender/llimagegl.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/linden/indra/llrender/llimagegl.h b/linden/indra/llrender/llimagegl.h index 6356703..20c31d1 100644 --- a/linden/indra/llrender/llimagegl.h +++ b/linden/indra/llrender/llimagegl.h | |||
@@ -36,7 +36,7 @@ | |||
36 | 36 | ||
37 | //============================================================================ | 37 | //============================================================================ |
38 | 38 | ||
39 | class LLImageGL : public LLThreadSafeRefCount | 39 | class LLImageGL : public LLRefCount |
40 | { | 40 | { |
41 | public: | 41 | public: |
42 | // Size calculation | 42 | // Size calculation |
@@ -48,6 +48,7 @@ public: | |||
48 | // Usually you want stage = 0 and bind_target = GL_TEXTURE_2D | 48 | // Usually you want stage = 0 and bind_target = GL_TEXTURE_2D |
49 | static void bindExternalTexture( LLGLuint gl_name, S32 stage, LLGLenum bind_target); | 49 | static void bindExternalTexture( LLGLuint gl_name, S32 stage, LLGLenum bind_target); |
50 | static void unbindTexture(S32 stage, LLGLenum target); | 50 | static void unbindTexture(S32 stage, LLGLenum target); |
51 | static void unbindTexture(S32 stage); // Uses GL_TEXTURE_2D (not a default arg to avoid gl.h dependency) | ||
51 | 52 | ||
52 | // needs to be called every frame | 53 | // needs to be called every frame |
53 | static void updateStats(F32 current_time); | 54 | static void updateStats(F32 current_time); |