Skip to content

Commit

Permalink
Fixed an issue that particle texture was not correctly located in Sve…
Browse files Browse the repository at this point in the history
…n Co-op. #430
  • Loading branch information
hzqst committed Apr 4, 2024
1 parent d739859 commit daeef3b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 0 additions & 1 deletion Plugins/Renderer/Renderer.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@
<EnableEnhancedInstructionSet>StreamingSIMDExtensions2</EnableEnhancedInstructionSet>
<PrecompiledHeader />
<DisableSpecificWarnings>4311;4312;4819;4996;%(DisableSpecificWarnings)</DisableSpecificWarnings>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<Link>
<GenerateDebugInformation>true</GenerateDebugInformation>
Expand Down
4 changes: 4 additions & 0 deletions Plugins/Renderer/gl_hooks.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6540,6 +6540,10 @@ void R_FillAddress(void)
if (address[instLen] == 0x33 && address[instLen + 1] == 0xC5)
{

}
else if (address[instLen] == 0x33 && address[instLen + 1] == 0xC4)
{

}
else
{
Expand Down
1 change: 0 additions & 1 deletion Plugins/Renderer/gl_rmain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -672,7 +672,6 @@ void R_DrawParticles(void)
rgba[3] = 255;

#if 1

gEngfuncs.pTriAPI->Color4ub(rgba[0], rgba[1], rgba[2], rgba[3]);
gEngfuncs.pTriAPI->TexCoord2f(0, 0);
gEngfuncs.pTriAPI->Vertex3fv(p->org);
Expand Down

0 comments on commit daeef3b

Please sign in to comment.