aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i915
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2016-09-30 16:37:03 +1000
committerTimothy Arceri <[email protected]>2016-10-01 09:24:33 +1000
commit7064f8674a2084da8ae5dd980ec18361001c8447 (patch)
tree11b7a8d7ef7a40b4a169b62d1ccc3b94eec80c77 /src/mesa/drivers/dri/i915
parent951bf44a56d3236550d4d910741c10d5e0d1311b (diff)
i915/i965: remove commented out warning
The warning was also the wrong location, it should have been in the else. Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i915')
-rw-r--r--src/mesa/drivers/dri/i915/intel_fbo.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/i915/intel_fbo.h b/src/mesa/drivers/dri/i915/intel_fbo.h
index 114dd68b596..769dab8689d 100644
--- a/src/mesa/drivers/dri/i915/intel_fbo.h
+++ b/src/mesa/drivers/dri/i915/intel_fbo.h
@@ -89,10 +89,8 @@ static inline struct intel_renderbuffer *
intel_renderbuffer(struct gl_renderbuffer *rb)
{
struct intel_renderbuffer *irb = (struct intel_renderbuffer *) rb;
- if (irb && irb->Base.Base.ClassID == INTEL_RB_CLASS) {
- /*_mesa_warning(NULL, "Returning non-intel Rb\n");*/
+ if (irb && irb->Base.Base.ClassID == INTEL_RB_CLASS)
return irb;
- }
else
return NULL;
}