equal
deleted
inserted
replaced
416 |
416 |
417 Tint(255, 255, 255, 255); |
417 Tint(255, 255, 255, 255); |
418 UpdateModelviewProjection; |
418 UpdateModelviewProjection; |
419 {$ENDIF} |
419 {$ENDIF} |
420 |
420 |
421 {$IFNDEF USE_S3D_RENDERING} |
421 {$IFDEF USE_S3D_RENDERING} |
422 if (cStereoMode = smHorizontal) or (cStereoMode = smVertical) or (cStereoMode = smAFR) then |
422 if (cStereoMode = smHorizontal) or (cStereoMode = smVertical) then |
423 begin |
423 begin |
424 // prepare left and right frame buffers and associated textures |
424 // prepare left and right frame buffers and associated textures |
425 if glLoadExtension('GL_EXT_framebuffer_object') then |
425 if glLoadExtension('GL_EXT_framebuffer_object') then |
426 begin |
426 begin |
427 CreateFramebuffer(framel, depthl, texl); |
427 CreateFramebuffer(framel, depthl, texl); |