Mercurial > mm7
comparison 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 |
comparison
equal
deleted
inserted
replaced
2517:09c3114c6e4e | 2518:3a1b56ab8749 |
---|---|
6406 return (b >> (8 - 5)) | | 6406 return (b >> (8 - 5)) | |
6407 0x7E0 & (g << (6 + 5 - 8)) | | 6407 0x7E0 & (g << (6 + 5 - 8)) | |
6408 0xF800 & (r << (6 + 5 + 5 - 8)); | 6408 0xF800 & (r << (6 + 5 + 5 - 8)); |
6409 } | 6409 } |
6410 | 6410 |
6411 void Render::DrawTextureNew(float u, float v, Texture *a4) | |
6412 { | |
6413 __debugbreak(); | |
6414 } | |
6415 | |
6416 void Render::DrawTextureNew(float u, float v, RGBTexture *a4) | |
6417 { | |
6418 DrawTextureRGB(640 * u, 480 * v, a4); | |
6419 } | |
6411 | 6420 |
6412 //----- (004A5BE3) -------------------------------------------------------- | 6421 //----- (004A5BE3) -------------------------------------------------------- |
6413 void Render::DrawTextureRGB(unsigned int uOutX, unsigned int uOutY, RGBTexture *a4) | 6422 void Render::DrawTextureRGB(unsigned int uOutX, unsigned int uOutY, RGBTexture *a4) |
6414 { | 6423 { |
6415 int v4; // edi@3 | 6424 int v4; // edi@3 |