View Issue Details [ Jump to Notes ] | [ Print ] |
ID | Project | Category | View Status | Date Submitted | Last Update |
0003299 | VTK | (No Category) | public | 2006-05-30 06:56 | 2006-12-13 17:39 |
|
Reporter | ricem | |
Assigned To | Clinton Stimpson | |
Priority | high | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | | |
|
Summary | 0003299: SwapBuffers not Checked on Mac |
Description | The SwapBuffers flag, set by vtkRenderWindow::SetSwapBuffers(int) is not checked in vtkCarbonRenderWindow::Frame(). This results in the OpenGL backbuffer always being swapped to the frontbuffer.
The attached patch has been tested on G4 PowerBook and G5 PowerMac. |
Tags | No tags attached. |
|
Project | |
Type | |
|
Attached Files | vtkCarbonRenderWindow.diff [^] (454 bytes) 1969-12-31 19:00 [Show Content] [Hide Content]--- vtkCarbonRenderWindow.cxx.old 2006-05-29 14:31:01.000000000 -0500
+++ vtkCarbonRenderWindow.cxx 2006-05-29 13:51:31.000000000 -0500
@@ -636,7 +636,7 @@
// End the rendering process and display the image.
void vtkCarbonRenderWindow::Frame()
{
- if (!this->AbortRender && this->DoubleBuffer)
+ if (!this->AbortRender && this->DoubleBuffer && this->SwapBuffers)
{
aglSwapBuffers(this->ContextId);
vtkDebugMacro(<< " SwapBuffers\n");
|
|