diff options
| author | Bryan Hoyle <starfoxprime@gmail.com> | 2012-08-12 15:38:26 (GMT) |
|---|---|---|
| committer | Bryan Hoyle <starfoxprime@gmail.com> | 2012-08-12 15:38:26 (GMT) |
| commit | 07821d9c858ea8fe467b0672b0c9d11552bfe8da (patch) | |
| tree | b1b27fd1eaa92050c5e5c1545d702a22f5fd0876 /src/game/Brush.cpp | |
| parent | f1fc3811aa68f547688ac53c67ba1f5e1e92f161 (diff) | |
| download | powder-07821d9c858ea8fe467b0672b0c9d11552bfe8da.zip powder-07821d9c858ea8fe467b0672b0c9d11552bfe8da.tar.gz | |
Minor opengl fixes, still not compiling, look at line 14 in src/graphics/OpenGLGraphics.cpp, build/src/graphics/OpenGLGraphics.cpp:14:15: error: expected primary-expression before '{' token
build/src/graphics/OpenGLGraphics.cpp:14:15: error: expected ')' before '{' token
'
Diffstat (limited to 'src/game/Brush.cpp')
| -rw-r--r-- | src/game/Brush.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game/Brush.cpp b/src/game/Brush.cpp index e52febb..5341f60 100644 --- a/src/game/Brush.cpp +++ b/src/game/Brush.cpp @@ -16,6 +16,7 @@ void Brush::RenderRect(Renderer * ren, ui::Point position1, ui::Point position2) position1.X += width; width *= -1; } + ren->xor_line(position1.X, position1.Y, position1.X+width, position1.Y); ren->xor_line(position1.X, position1.Y+height, position1.X+width, position1.Y+height); ren->xor_line(position1.X+width, position1.Y+1, position1.X+width, position1.Y+height-1); @@ -39,4 +40,4 @@ void Brush::RenderPoint(Renderer * ren, ui::Point position) void Brush::RenderFill(Renderer * ren, ui::Point position) { -}
\ No newline at end of file +} |
