From 947d21e598f8b15052db01a28df8efcda53bd04b Mon Sep 17 00:00:00 2001 From: Josh Yelon Date: Mon, 15 May 2006 18:06:13 +0000 Subject: [PATCH] Changed a function name --- panda/src/wgldisplay/wglGraphicsPipe.cxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/panda/src/wgldisplay/wglGraphicsPipe.cxx b/panda/src/wgldisplay/wglGraphicsPipe.cxx index 8aaa100f3e..f054d57f7e 100644 --- a/panda/src/wgldisplay/wglGraphicsPipe.cxx +++ b/panda/src/wgldisplay/wglGraphicsPipe.cxx @@ -185,11 +185,11 @@ make_output(const string &name, // Early failure - if we are sure that this buffer WONT // meet specs, we can bail out early. if ((flags & BF_fb_props_optional)==0) { - if ((properties.has_mode(FrameBufferProperties::FM_index))|| - (properties.has_mode(FrameBufferProperties::FM_buffer))|| - (properties.has_mode(FrameBufferProperties::FM_accum))|| - (properties.has_mode(FrameBufferProperties::FM_stencil))|| - (properties.has_mode(FrameBufferProperties::FM_multisample))) { + if ((properties.specifies_mode(FrameBufferProperties::FM_index))|| + (properties.specifies_mode(FrameBufferProperties::FM_buffer))|| + (properties.specifies_mode(FrameBufferProperties::FM_accum))|| + (properties.specifies_mode(FrameBufferProperties::FM_stencil))|| + (properties.specifies_mode(FrameBufferProperties::FM_multisample))) { return NULL; } }