TryCatch(InitGL(), , "InitGL() failed.");
- TryCatch(InitCanvasTexture(), , "InitVideoTexture() failed.");
+ TryCatch(InitCanvasTexture(), , "InitCanvasTexture() failed.");
__pTimer = new (std::nothrow) Timer;
TryCatch(__pTimer != null, , "Failed to allocate memory.");
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_EDGE);
__pCanvasTexture = new (std::nothrow) CanvasTexture;
- TryCatch(__pCanvasTexture != null, , "Allocation of VideoTexture failed.");
+ TryCatch(__pCanvasTexture != null, , "Allocation of CanvasTexture failed.");
r = __pCanvasTexture->Construct(__textureId, rect.width, rect.height);
TryCatch(!IsFailed(r), , "__pCanvasTexture->Construct() failed.");