goat3dgfx

diff src/rtarg.cc @ 24:dc5918c62a64

broken: converting to resman
author John Tsiombikas <nuclear@member.fsf.org>
date Sat, 01 Mar 2014 22:04:29 +0200
parents 7d6b667821cf
children 3ba80928b530
line diff
     1.1 --- a/src/rtarg.cc	Tue Feb 25 23:47:48 2014 +0200
     1.2 +++ b/src/rtarg.cc	Sat Mar 01 22:04:29 2014 +0200
     1.3 @@ -40,7 +40,7 @@
     1.4  	int tex_height = next_pow2(height);
     1.5  
     1.6  	CHECKGLERR;
     1.7 -	color_tex = new Texture2D;
     1.8 +	color_tex = new Texture;
     1.9  	color_tex->create(tex_width, tex_height, fmt);
    1.10  	CHECKGLERR;
    1.11  	tex_face = 0;