text working in gl but buggy

This commit is contained in:
benfry
2004-12-13 03:21:16 +00:00
parent 0f5d820235
commit b5bb0a1155
4 changed files with 10 additions and 1 deletions

View File

@@ -163,6 +163,8 @@ public class PImage implements PConstants, Cloneable {
if ((width2 == width) && (height2 == height)) {
// image can be used by itself as the texture image
tpixels = pixels;
twidth = width;
theight = height;
} else {
if ((width2 > twidth) || (height2 > theight)) {