- Timestamp:
- 04/13/09 21:44:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Vis/FriendlyCulling/src/DeferredRenderer.cpp
r3345 r3347 432 432 mDownSampleFbo->AddColorBuffer(ColorBufferObject::RGB_FLOAT_16, ColorBufferObject::WRAP_CLAMP_TO_EDGE, ColorBufferObject::FILTER_LINEAR); 433 433 434 434 435 for (int i = 0; i < 2; ++ i) 435 436 { … … 928 929 929 930 // the neighbouring texels 930 float xOffs = 1.0f / fbo->GetWidth();931 float yOffs = 1.0f / fbo->GetHeight();931 const float xOffs = 1.0f / fbo->GetWidth(); 932 const float yOffs = 1.0f / fbo->GetHeight(); 932 933 933 934 sCgAntiAliasingProgram->SetTexture(0, colorsTex); … … 1382 1383 gluOrtho2D(0, 1, 0, 1); 1383 1384 1384 1385 1385 glMatrixMode(GL_MODELVIEW); 1386 1386 glPushMatrix(); 1387 1387 glLoadIdentity(); 1388 1389 1388 1390 1389 glPushAttrib(GL_VIEWPORT_BIT);
Note: See TracChangeset
for help on using the changeset viewer.