Код: Выделить всё
BeginDrawing();
DrawTexture(texture, posX, posY, WHITE);
EndDrawing();
Код: Выделить всё
BeginTextureMode(target);
DrawTexture(texture, posX, posY, WHITE);
EndTextureMode();
BeginDrawing();
DrawTextureRec(target.texture, (Rectangle) { 0, 0, (float)target.texture.width, (float)-target.texture.height }, (Vector2) { 0, 0 }, WHITE);
EndDrawing();
Подробнее здесь: https://stackoverflow.com/questions/786 ... -in-raylib
Мобильная версия