| 1285 | } |
| 1286 | |
| 1287 | int |
| 1288 | SDL_QueryTexture(SDL_Texture * texture, Uint32 * format, int *access, |
| 1289 | int *w, int *h) |
| 1290 | { |
| 1291 | CHECK_TEXTURE_MAGIC(texture, -1); |
| 1292 | |
| 1293 | if (format) { |
| 1294 | *format = texture->format; |
| 1295 | } |
| 1296 | if (access) { |
| 1297 | *access = texture->access; |
| 1298 | } |
| 1299 | if (w) { |
| 1300 | *w = texture->w; |
| 1301 | } |
| 1302 | if (h) { |
| 1303 | *h = texture->h; |
| 1304 | } |
| 1305 | return 0; |
| 1306 | } |
| 1307 | |
| 1308 | int |
| 1309 | SDL_SetTextureColorMod(SDL_Texture * texture, Uint8 r, Uint8 g, Uint8 b) |
no outgoing calls