diff options
author | Chia-I Wu <[email protected]> | 2009-10-02 15:32:04 +0800 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-10-29 07:52:58 -0600 |
commit | 9927d7f31c5c46c7b061cf8e13324ac4a837c4b7 (patch) | |
tree | 89f6aa7325869b0ab20e7532fd3571290b60ce03 /src/mesa/main/fbobject.c | |
parent | 59798cd8864b601e035cf2414517cd90d24ed786 (diff) |
mesa: Fix compilation errors and warnings when features are disabled.
Some of the fixes are cherry-picked from opengl-es branch.
Signed-off-by: Chia-I Wu <[email protected]>
Diffstat (limited to 'src/mesa/main/fbobject.c')
-rw-r--r-- | src/mesa/main/fbobject.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/main/fbobject.c b/src/mesa/main/fbobject.c index 1d6ccf7fdd8..4c6528bcf78 100644 --- a/src/mesa/main/fbobject.c +++ b/src/mesa/main/fbobject.c @@ -650,6 +650,8 @@ _mesa_test_framebuffer_completeness(GLcontext *ctx, struct gl_framebuffer *fb) return; } } +#else + (void) j; #endif if (numImages == 0) { |