Ignore:
Timestamp:
Jun 22, 2013, 11:23:40 PM (8 years ago)
Author:
sam
Message:

gpu: framebuffers now use the g_render object to restore viewport data.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lol/gpu/renderer.h

    r2764 r2768  
    116116    friend class Video;
    117117
    118     Renderer();
     118    Renderer(ivec2 size);
    119119    ~Renderer();
    120120
    121121public:
     122    void SetViewport(ibox2 viewport);
     123    ibox2 GetViewport() const;
     124
    122125    void SetClearColor(vec4 color);
    123126    vec4 GetClearColor() const;
Note: See TracChangeset for help on using the changeset viewer.