mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2025-07-03 14:34:34 +00:00
Add RenderState to be passed through the scene graph
This will eventually handle all mutable state during rendering
This commit is contained in:
parent
b6c5d90d3a
commit
68b3c61852
57 changed files with 201 additions and 150 deletions
|
@ -40,7 +40,7 @@ void OutlineRect::setLineSize(int ls)
|
|||
lineSize = ls;
|
||||
}
|
||||
|
||||
void OutlineRect::onRender() const
|
||||
void OutlineRect::onRender(const RenderState& rs) const
|
||||
{
|
||||
glLineWidth(lineSize);
|
||||
glBegin(GL_LINES);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue