Use the correct function to determine texture pool

Trac #19259 Issue=269 git-svn-id: https://angleproject.googlecode.com/svn/trunk@912 736b8ea6-26fd-11df-bfd4-992fa37f6226
parent 6a05be4c
#define MAJOR_VERSION 1
#define MINOR_VERSION 0
#define BUILD_VERSION 0
#define BUILD_REVISION 911
#define BUILD_REVISION 912
#define STRINGIFY(x) #x
#define MACRO_STRINGIFY(x) STRINGIFY(x)
......
......@@ -1243,7 +1243,9 @@ void Image::copy(GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width,
}
TextureStorage::TextureStorage(bool renderable)
: mRenderable(renderable), mManaged(getDisplay()->getBufferPool(renderable) == D3DPOOL_MANAGED), mTextureSerial(issueTextureSerial())
: mRenderable(renderable),
mManaged(getDisplay()->getTexturePool(renderable) == D3DPOOL_MANAGED),
mTextureSerial(issueTextureSerial())
{
}
......
Markdown is supported
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