Mercurial > mm7
diff Engine/Graphics/Render.cpp @ 2518:3a1b56ab8749
d3d11 accepts RGBTexture
author | a.parshin |
---|---|
date | Thu, 09 Oct 2014 00:06:47 +0300 |
parents | 491f0babd563 |
children | c532d5242055 |
line wrap: on
line diff
--- a/Engine/Graphics/Render.cpp Wed Oct 08 22:32:54 2014 +0600 +++ b/Engine/Graphics/Render.cpp Thu Oct 09 00:06:47 2014 +0300 @@ -6408,6 +6408,15 @@ 0xF800 & (r << (6 + 5 + 5 - 8)); } +void Render::DrawTextureNew(float u, float v, Texture *a4) +{ + __debugbreak(); +} + +void Render::DrawTextureNew(float u, float v, RGBTexture *a4) +{ + DrawTextureRGB(640 * u, 480 * v, a4); +} //----- (004A5BE3) -------------------------------------------------------- void Render::DrawTextureRGB(unsigned int uOutX, unsigned int uOutY, RGBTexture *a4)