The SDL forums have moved to discourse.libsdl.org.
This is just a read-only archive of the previous forums, to keep old links working.


SDL Forum Index
SDL
Simple Directmedia Layer Forums
Texture Repeat
Flash


Joined: 05 Nov 2013
Posts: 14
Hi, is there any way to easily repeat a texture on specified area, without using GL's functions? I need portable method that can also be used with DX.
Normally i would use loop, but it's just *ugh* when both dx (D3DTADDRESS_WRAP) and ogl (GL_REPEAT) just have it.
Texture Repeat
javierecf


Joined: 21 Feb 2014
Posts: 52
This is one of the reasons why i switched to sdl_gpu months ago. I did my little implementation, but the only way i could do it right was with opengl.


2014-10-23 13:07 GMT-06:00 Flash:
Quote:
Hi, is there any way to easily repeat a texture on specified area, without using GL's functions? I need portable method that can also be used with DX.
Normally i would use loop, but it's just *ugh* when both dx (D3DTADDRESS_WRAP) and ogl (GL_REPEAT) just have it.


_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org




--
Javier Flores