mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-23 07:40:14 +00:00
Implement SMSG_MULTIPLE_PACKETS unpacking and fix unused variable warning
- Parse bundled sub-packets from SMSG_MULTIPLE_PACKETS using the WotLK standard wire format (uint16_be size + uint16_le opcode + payload), dispatching each through handlePacket() instead of silently discarding. Rate-limited warning for malformed sub-packet overruns. - Remove unused cullRadiusSq variable in TerrainRenderer::renderShadow() that produced a -Wunused-variable warning.
This commit is contained in:
parent
18e6c2e767
commit
6cba3f5c95
2 changed files with 33 additions and 3 deletions
|
|
@ -969,8 +969,6 @@ void TerrainRenderer::renderShadow(VkCommandBuffer cmd, const glm::mat4& lightSp
|
|||
vkCmdPushConstants(cmd, shadowPipelineLayout_, VK_SHADER_STAGE_VERTEX_BIT,
|
||||
0, 128, &push);
|
||||
|
||||
const float cullRadiusSq = shadowRadius * shadowRadius;
|
||||
|
||||
for (const auto& chunk : chunks) {
|
||||
if (!chunk.isValid()) continue;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue