diff --git a/src/core/textures/RenderTexture.js b/src/core/textures/RenderTexture.js index c99b367..d6b3f77 100644 --- a/src/core/textures/RenderTexture.js +++ b/src/core/textures/RenderTexture.js @@ -55,7 +55,7 @@ width = width || 100; height = height || 100; - resolution = resolution || 1; + resolution = resolution || CONST.RESOLUTION; /** * The base texture object that this texture uses @@ -63,8 +63,8 @@ * @member {BaseTexture} */ var baseTexture = new BaseTexture(); - baseTexture.width = width * resolution; - baseTexture.height = height * resolution; + baseTexture.width = width; + baseTexture.height = height; baseTexture.resolution = resolution; baseTexture.scaleMode = scaleMode || CONST.SCALE_MODES.DEFAULT; baseTexture.hasLoaded = true;