Last change
on this file since 2277 was
2103,
checked in by ldelgass, 13 years ago
|
Remove unused _pixels data member, fixes warning about deleting a void pointer
being undefined.
|
File size:
288 bytes
|
Line | |
---|
1 | #include <vr3d/vrTexture.h> |
---|
2 | |
---|
3 | vrTexture::vrTexture() |
---|
4 | : |
---|
5 | _objectID(0), |
---|
6 | _type(DT_FLOAT), |
---|
7 | _colorFormat(CF_RGBA), |
---|
8 | _internalColorFormat(CF_RGBA), |
---|
9 | _minFilter(TF_LINEAR), |
---|
10 | _magFilter(TF_LINEAR), |
---|
11 | _compCount(4) |
---|
12 | { |
---|
13 | } |
---|
14 | |
---|
15 | |
---|
16 | vrTexture::~vrTexture() |
---|
17 | { |
---|
18 | ::glDeleteTextures(1, &_objectID); |
---|
19 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.