added in proper gl error checks when resizing textures
added in proper gl error checks when resizing textures

cmbasnett/mandala,cmbasnett/mandala,cmbasnett/mandala,cmbasnett/mandala,cmbasnett/mandala,cmbasnett/mandala,cmbasnett/mandala,cmbasnett/mandala