----------------------------------------------------------------------------------- ----------------------------------------------------------------------------------- -----------------------------------------------------------------------------------
| 185 | //----------------------------------------------------------------------------------- |
| 186 | //----------------------------------------------------------------------------------- |
| 187 | GLES2NullTextureTarget::GLES2NullTextureTarget( GLES2NullTexture *ultimateTextureOwner, |
| 188 | const String &name, |
| 189 | v1::HardwarePixelBuffer *buffer, |
| 190 | uint32 zoffset ) : |
| 191 | RenderTexture( buffer, zoffset ), |
| 192 | mUltimateTextureOwner( ultimateTextureOwner ) |
| 193 | { |
| 194 | mName = name; |
| 195 | mWidth = ultimateTextureOwner->getWidth(); |
| 196 | mHeight = ultimateTextureOwner->getHeight(); |
| 197 | mFormat = ultimateTextureOwner->getFormat(); |
| 198 | mFSAA = ultimateTextureOwner->getFSAA(); |
| 199 | mFSAAHint = ultimateTextureOwner->getFSAAHint(); |
| 200 | mFsaaResolveDirty = true; //Should be permanent true. |
| 201 | } |
| 202 | //----------------------------------------------------------------------------------- |
| 203 | GLES2NullTextureTarget::~GLES2NullTextureTarget() |
| 204 | { |