mirror of https://github.com/odrling/Aegisub
Fixed last patch and updated project.
Originally committed to SVN as r2353.
This commit is contained in:
parent
d8c5da67d8
commit
14037b8a64
|
@ -135,14 +135,10 @@ void VisualToolVectorClip::Draw() {
|
||||||
glEnd();
|
glEnd();
|
||||||
}
|
}
|
||||||
|
|
||||||
// Invert stencil
|
|
||||||
if (inverse) {
|
|
||||||
DrawRectangle(0,0,sw,sh);
|
|
||||||
}
|
|
||||||
|
|
||||||
// Draw "outside clip" mask
|
// Draw "outside clip" mask
|
||||||
glColorMask(1,1,1,1);
|
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);
|
glStencilOp(GL_KEEP, GL_KEEP, GL_KEEP);
|
||||||
SetLineColour(colour[3],0.0f);
|
SetLineColour(colour[3],0.0f);
|
||||||
SetFillColour(wxColour(0,0,0),0.5f);
|
SetFillColour(wxColour(0,0,0),0.5f);
|
||||||
|
|
|
@ -248,7 +248,7 @@
|
||||||
LinkIncremental="1"
|
LinkIncremental="1"
|
||||||
AdditionalLibraryDirectories="../../lib"
|
AdditionalLibraryDirectories="../../lib"
|
||||||
GenerateManifest="true"
|
GenerateManifest="true"
|
||||||
DelayLoadDLLs="perl510.dll"
|
DelayLoadDLLs="perl510.dll;FFMpegSource2.dll"
|
||||||
GenerateDebugInformation="true"
|
GenerateDebugInformation="true"
|
||||||
SubSystem="2"
|
SubSystem="2"
|
||||||
OptimizeReferences="2"
|
OptimizeReferences="2"
|
||||||
|
|
Loading…
Reference in New Issue