Link to .capx file (required!):
https://dl.dropbox.com/u/6200498/Construct%202/capx/bugged/9patch_powerof2-bug.capx
Steps to reproduce:
1. Place a 9-Patch object width dimensions != power of 2.
2. Preview with web gl on AND off.
Observed result:
Exception with web gl OFF:
Javascript error!Uncaught Error: InvalidStateError: DOM Exception 11http://localhost/NinePatch_plugin.js, line 149 (col undefined)
Exception with web gl ON:
Javascript error!Uncaught Error: InvalidStateError: DOM Exception 11http://localhost/glwrap.js, line 1292 (col undefined)
I guess this is the stretching routine for non power of 2 textures.
Expected result:
No exception thrown / 9-patch working stretching routine. ;)
Browsers affected:
Chrome: yes
Firefox: yes
Internet Explorer: very possible
Operating system & service pack:
Windows 7 Prof.
Construct 2 version:
r120.2 64bit