summaryrefslogtreecommitdiff
path: root/src/graphics/Renderer.h
diff options
context:
space:
mode:
authorjacob1 <jfu614@gmail.com>2013-02-09 23:18:53 (GMT)
committer jacob1 <jfu614@gmail.com>2013-02-09 23:18:53 (GMT)
commitdc6398a33e3be47a83ff38b9bbabedcbe6756341 (patch)
tree48de29237b65291e95c1618abd3ab8cbb7329372 /src/graphics/Renderer.h
parenta989d977442674232a8512bb52ff06af1b93c58a (diff)
downloadpowder-dc6398a33e3be47a83ff38b9bbabedcbe6756341.zip
powder-dc6398a33e3be47a83ff38b9bbabedcbe6756341.tar.gz
fix deco sample tool with 1 px brush, fix deco sample also sampling HUD/other text
Diffstat (limited to 'src/graphics/Renderer.h')
-rw-r--r--src/graphics/Renderer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/graphics/Renderer.h b/src/graphics/Renderer.h
index 2b6cc14..a1ed159 100644
--- a/src/graphics/Renderer.h
+++ b/src/graphics/Renderer.h
@@ -63,6 +63,7 @@ public:
Simulation * sim;
Graphics * g;
gcache_item *graphicscache;
+ pixel sampleColor;
//Mouse position for debug information
int mousePosX, mousePosY;
@@ -94,8 +95,7 @@ public:
void ClearAccumulation();
void clearScreen(float alpha);
-
- //class SolidsRenderer;
+ void SetSample(int x, int y);
#ifdef OGLR
void checkShader(GLuint shader, char * shname);