mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 15:44:56 +00:00
Graphics bug fixes
This commit is contained in:
@@ -377,6 +377,7 @@ void ViewManager::stop()
|
|||||||
{
|
{
|
||||||
m_videoVoice.reset();
|
m_videoVoice.reset();
|
||||||
m_projManager.shutdown();
|
m_projManager.shutdown();
|
||||||
|
TShader<CThermalColdFilter>::Shutdown();
|
||||||
CElementGen::Shutdown();
|
CElementGen::Shutdown();
|
||||||
CMoviePlayer::Shutdown();
|
CMoviePlayer::Shutdown();
|
||||||
CLineRenderer::Shutdown();
|
CLineRenderer::Shutdown();
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#include "CLineRendererShaders.hpp"
|
#include "CLineRendererShaders.hpp"
|
||||||
#include "CLineRenderer.hpp"
|
#include "Graphics/CLineRenderer.hpp"
|
||||||
#if BOO_HAS_METAL
|
#if BOO_HAS_METAL
|
||||||
|
|
||||||
namespace urde
|
namespace urde
|
||||||
|
|||||||
@@ -90,7 +90,7 @@ struct CThermalColdFilterGLDataBindingFactory : TShader<CThermalColdFilter>::IDa
|
|||||||
boo::PipelineStage stages[] = {boo::PipelineStage::Vertex};
|
boo::PipelineStage stages[] = {boo::PipelineStage::Vertex};
|
||||||
boo::ITexture* texs[] = {CGraphics::g_SpareTexture, filter.m_shiftTex};
|
boo::ITexture* texs[] = {CGraphics::g_SpareTexture, filter.m_shiftTex};
|
||||||
return cctx.newShaderDataBinding(TShader<CThermalColdFilter>::m_pipeline,
|
return cctx.newShaderDataBinding(TShader<CThermalColdFilter>::m_pipeline,
|
||||||
ctx.newVertexFormat(3, VtxVmt), filter.m_vbo, nullptr, nullptr,
|
ctx.newVertexFormat(2, VtxVmt), filter.m_vbo, nullptr, nullptr,
|
||||||
1, bufs, stages, nullptr, nullptr, 2, texs);
|
1, bufs, stages, nullptr, nullptr, 2, texs);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
2
hecl
2
hecl
Submodule hecl updated: ba0684b915...3e5c8a7992
Reference in New Issue
Block a user