View Single Post
  #13  
Old 02-11-2005, 06:23 PM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
Quote:
Originally Posted by -Ramirez-
This is a bit off-topic, but oh well, it's Massokre's thread, so it's fine.

You mean you don't even create a surface for the tileset? In that case, to draw them on screen, you have to manually copy over the bytes onto the "back buffer" surface, right? Why would you do it that way? "curiosity killed the cat"...
Because its faster (and needed for 3d terrain anyway)? In OpenGL there is no function for copying one texture into another texture, so for drawing it into the tiles buffer(s) we copy the pixels, line by line.
Reply With Quote