]> git.tdb.fi Git - libs/gl.git/blob - source/core/rect.h
Convert framebuffers and related functionality to new state management
[libs/gl.git] / source / core / rect.h
1 #ifndef MSP_GL_RECT_H_
2 #define MSP_GL_RECT_H_
3
4 namespace Msp {
5 namespace GL {
6
7 struct Rect
8 {
9         int left;
10         int bottom;
11         unsigned width;
12         unsigned height;
13
14         Rect(): left(0), bottom(0), width(0), height(0) { }
15         Rect(int l, int b, unsigned w, unsigned h): left(l), bottom(b), width(w), height(h) { }
16 };
17
18 } // namespace GL
19 } // namespace Msp
20
21 #endif