Commit 392b0bb7 authored by Jan Möbius's avatar Jan Möbius
Browse files

Added possibility to get textureId

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@7465 383ad7c9-94d9-4d36-a494-682f7c89f535
parent face7313
...@@ -238,6 +238,8 @@ public: ...@@ -238,6 +238,8 @@ public:
bool is_valid() const { return valid; } bool is_valid() const { return valid; }
void gen() { glGenTextures(1, &texture); valid=true; } void gen() { glGenTextures(1, &texture); valid=true; }
GLuint id() { return texture; }
private: private:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment