mirror of
https://review.haiku-os.org/haiku
synced 2025-01-31 02:35:03 +01:00
8e4cdaae8d
* Add GL header include path * Remove strange GL include path from sources
30 lines
447 B
C++
30 lines
447 B
C++
/*
|
|
* Copyright 2009, Haiku Inc. All rights reserved.
|
|
* Distributed under the terms of the MIT License.
|
|
*
|
|
* Authors:
|
|
* Alexandre Deckner <alex@zappotek.com>
|
|
*/
|
|
#ifndef _TEXTURE_H
|
|
#define _TEXTURE_H
|
|
|
|
#include <Referenceable.h>
|
|
|
|
#include <GL/gl.h>
|
|
|
|
|
|
class Texture : public BReferenceable {
|
|
public:
|
|
Texture();
|
|
virtual ~Texture();
|
|
|
|
GLuint Id();
|
|
|
|
virtual void Update(float dt);
|
|
|
|
protected:
|
|
GLuint fId;
|
|
};
|
|
|
|
#endif /* _TEXTURE_H */
|