Subversion Repository Public Repository

Divide-Framework

This repository has no backups
This repository's network speed is throttled to 100KB/sec

Diff Revisions 353 vs 436 for /trunk/Source Code/Platform/Video/ScopedStates.cpp

Diff revisions: vs.
  @@ -3,11 +3,8 @@
3 3
4 4 namespace Divide {
5 5 namespace GFX {
6 - ScopedLineWidth::ScopedLineWidth(F32 width) { GFX_DEVICE.setLineWidth(width); }
7 6
8 - ScopedLineWidth::~ScopedLineWidth() { GFX_DEVICE.restoreLineWidth(); }
9 -
10 - ScopedRasterizer::ScopedRasterizer(bool state) {
7 + ScopedRasterizer::ScopedRasterizer(bool state) {
11 8 _rasterizerState = GFX_DEVICE.rasterizationState();
12 9 GFX_DEVICE.toggleRasterization(state);
13 10 }