summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/Software/HwRasterizer.cpp
diff options
context:
space:
mode:
authordegasus <wickmarkus@web.de>2014-07-08 14:29:26 +0200
committerdegasus <wickmarkus@web.de>2014-07-11 16:07:23 +0200
commit22e1aa5bb4a159d6d66a321f978917614aa36331 (patch)
tree5f1ec329704dd6120cfb5966dba76387ad1bbc2f /Source/Core/VideoBackends/Software/HwRasterizer.cpp
parent3ff1c538ee20f59e513640865bab8fb430e70e84 (diff)
mark all local functions as static
Diffstat (limited to 'Source/Core/VideoBackends/Software/HwRasterizer.cpp')
-rw-r--r--Source/Core/VideoBackends/Software/HwRasterizer.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/Core/VideoBackends/Software/HwRasterizer.cpp b/Source/Core/VideoBackends/Software/HwRasterizer.cpp
index 1a85b34263..9515e8d8af 100644
--- a/Source/Core/VideoBackends/Software/HwRasterizer.cpp
+++ b/Source/Core/VideoBackends/Software/HwRasterizer.cpp
@@ -35,7 +35,7 @@ namespace HwRasterizer
// Clear shader
static GLint clear_apos = -1, clear_ucol = -1;
- void CreateShaders()
+ static void CreateShaders()
{
// Color Vertices
static const char *fragcolText =
@@ -155,7 +155,7 @@ namespace HwRasterizer
GL_REPORT_ERRORD();
}
static float width, height;
- void LoadTexture()
+ static void LoadTexture()
{
FourTexUnits &texUnit = bpmem.tex[0];
u32 imageAddr = texUnit.texImage3[0].image_base;
@@ -199,7 +199,7 @@ namespace HwRasterizer
glDisable(GL_BLEND);
}
- void DrawColorVertex(OutputVertexData *v0, OutputVertexData *v1, OutputVertexData *v2)
+ static void DrawColorVertex(OutputVertexData *v0, OutputVertexData *v1, OutputVertexData *v2)
{
float x0 = (v0->screenPosition.x / efbHalfWidth) - 1.0f;
float y0 = 1.0f - (v0->screenPosition.y / efbHalfHeight);
@@ -249,7 +249,7 @@ namespace HwRasterizer
GL_REPORT_ERRORD();
}
- void DrawTextureVertex(OutputVertexData *v0, OutputVertexData *v1, OutputVertexData *v2)
+ static void DrawTextureVertex(OutputVertexData *v0, OutputVertexData *v1, OutputVertexData *v2)
{
float x0 = (v0->screenPosition.x / efbHalfWidth) - 1.0f;
float y0 = 1.0f - (v0->screenPosition.y / efbHalfHeight);