This website works better with JavaScript.
Home
Help
Sign In
lolengine
/
lol
mirror of
https://github.com/lolengine/lol
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
0
Wiki
Activity
Browse Source
gpu: prevent accidental creation of a Renderer object.
legacy
Sam Hocevar
sam
11 years ago
parent
23a850c78d
commit
c1c907499d
1 changed files
with
5 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+5
-1
src/lol/gpu/renderer.h
+ 5
- 1
src/lol/gpu/renderer.h
View File
@@ -23,10 +23,14 @@ class RendererData;
class Renderer
{
public:
private:
/* Only the Video class can create a renderer for now. */
friend class Video;
Renderer();
~Renderer();
public:
void SetClearColor(vec4 color);
vec4 GetClearColor() const;
Write
Preview
Loading…
Cancel
Save