Open GoogleCodeExporter opened 8 years ago
Modify lines from 125 to 133 as below will fix the problem
// Note that the coordinates passed to drawBitmap get scaled by the current
// canvas drawing matrix and therefore we adjust them by the scale to get
// the bitmap to follow the mouse position.
g_canvasQuad.canvas.drawBitmap(
g_brushTexture,
(offset.x / brushScale - g_brushTexture.width * 0.5),
((g_canvasHeight - offset.y) / brushScale + g_brushTexture.height * 0.5 -
g_canvasHeight));
g_canvasQuad.canvas.restoreMatrix();
g_canvasQuad.updateTexture();
Original comment by CKYun...@gmail.com
on 22 Mar 2010 at 4:28
Original issue reported on code.google.com by
gspen...@google.com
on 12 Oct 2009 at 3:35