change texture2d to texture
This commit is contained in:
parent
97c02b2425
commit
1c829e7b81
1 changed files with 73 additions and 73 deletions
|
|
@ -277,7 +277,7 @@ int main(void)
|
|||
} break;
|
||||
case DEFERRED_POSITION:
|
||||
{
|
||||
DrawTextureRec((Texture2D){
|
||||
DrawTextureRec((Texture){
|
||||
.id = gBuffer.positionTexture,
|
||||
.width = screenWidth,
|
||||
.height = screenHeight,
|
||||
|
|
@ -287,7 +287,7 @@ int main(void)
|
|||
} break;
|
||||
case DEFERRED_NORMAL:
|
||||
{
|
||||
DrawTextureRec((Texture2D){
|
||||
DrawTextureRec((Texture){
|
||||
.id = gBuffer.normalTexture,
|
||||
.width = screenWidth,
|
||||
.height = screenHeight,
|
||||
|
|
@ -297,7 +297,7 @@ int main(void)
|
|||
} break;
|
||||
case DEFERRED_ALBEDO:
|
||||
{
|
||||
DrawTextureRec((Texture2D){
|
||||
DrawTextureRec((Texture){
|
||||
.id = gBuffer.albedoSpecTexture,
|
||||
.width = screenWidth,
|
||||
.height = screenHeight,
|
||||
|
|
|
|||
Loading…
Reference in a new issue