Changeset 2757


Ignore:
Timestamp:
Jun 21, 2013, 2:43:19 PM (8 years ago)
Author:
sam
Message:

gpu: prevent accidental creation of a Renderer object.

File:
1 edited

Legend:

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

    r2753 r2757  
    2424class Renderer
    2525{
    26 public:
     26private:
     27    /* Only the Video class can create a renderer for now. */
     28    friend class Video;
     29
    2730    Renderer();
    2831    ~Renderer();
    2932
     33public:
    3034    void SetClearColor(vec4 color);
    3135    vec4 GetClearColor() const;
Note: See TracChangeset for help on using the changeset viewer.