2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-15 06:06:10 +00:00

CFluidPlane: Resolve constness related compile errors that slipped through

Gotta love Find References not, in fact, finding all the references.
This commit is contained in:
Lioncash
2020-04-06 05:29:05 -04:00
parent f0eadfe56c
commit c9e8b3366d
5 changed files with 8 additions and 8 deletions

View File

@@ -87,7 +87,7 @@ void CFluidPlane::RenderStripWithRipples(float curY, const CFluidPlaneRender::SH
const u8 (&flags)[9][9], int startYDiv,
const CFluidPlaneRender::SPatchInfo& info,
std::vector<CFluidPlaneShader::Vertex>& vOut,
std::vector<CFluidPlaneShader::PatchVertex>& pvOut) const {
std::vector<CFluidPlaneShader::PatchVertex>& pvOut) {
m_shader->bindRegular();
int yTile = (startYDiv + CFluidPlaneRender::numSubdivisionsInTile - 1) / CFluidPlaneRender::numSubdivisionsInTile;
@@ -313,7 +313,7 @@ void CFluidPlane::RenderStripWithRipples(float curY, const CFluidPlaneRender::SH
void CFluidPlane::RenderPatch(const CFluidPlaneRender::SPatchInfo& info,
const CFluidPlaneRender::SHFieldSample (&heights)[46][46], const u8 (&flags)[9][9],
bool noRipples, bool flagIs1, std::vector<CFluidPlaneShader::Vertex>& vOut,
std::vector<CFluidPlaneShader::PatchVertex>& pvOut) const {
std::vector<CFluidPlaneShader::PatchVertex>& pvOut) {
if (noRipples) {
m_shader->bindRegular();