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:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user