Help with converting between SDL_Texture pixel formats? |
Christian Leger
Guest
|
Hi,
I'm not familiar enough with the SDL library functions for conversions to answer the first part of your question, however I would recommend you complete your task in C rather than in assembler. Unless you are totally proficient in asm, then never mind ^_^ On Fri, Sep 19, 2014 at 5:53 PM, BadManiac wrote:
|
|||||||||||||
|
Help with converting between SDL_Texture pixel formats? |
Help with converting between SDL_Texture pixel formats? |
Andreas Schiffler
Guest
|
Wouldn't this just do it behind the scenes?
SDL_Texture* texture = SDL_CreateTexture(renderer, pixelData, SDL_PIXELFORMAT_BGR888, SDL_TEXTUREACCESS_STATIC, w, h); (see https://wiki.libsdl.org/SDL_CreateTexture) On 11/13/2014 1:06 AM, Gabriele Greco wrote:
|
|||||||||||||||||
|