Fixed last patch and updated project.

Originally committed to SVN as r2353.
This commit is contained in:
Rodrigo Braz Monteiro 2008-09-14 15:20:15 +00:00
parent d8c5da67d8
commit 14037b8a64
2 changed files with 3 additions and 7 deletions

View file

@ -135,14 +135,10 @@ void VisualToolVectorClip::Draw() {
glEnd();
}
// Invert stencil
if (inverse) {
DrawRectangle(0,0,sw,sh);
}
// Draw "outside clip" mask
glColorMask(1,1,1,1);
glStencilFunc(GL_EQUAL, 0, 1);
if (inverse) glStencilFunc(GL_EQUAL, 1, 1);
else glStencilFunc(GL_EQUAL, 0, 1);
glStencilOp(GL_KEEP, GL_KEEP, GL_KEEP);
SetLineColour(colour[3],0.0f);
SetFillColour(wxColour(0,0,0),0.5f);

View file

@ -248,7 +248,7 @@
LinkIncremental="1"
AdditionalLibraryDirectories="../../lib"
GenerateManifest="true"
DelayLoadDLLs="perl510.dll"
DelayLoadDLLs="perl510.dll;FFMpegSource2.dll"
GenerateDebugInformation="true"
SubSystem="2"
OptimizeReferences="2"