Skip to content

Commit 4912f12

Browse files
committed
Add bgra8 TextureFormat;
1 parent 74d9373 commit 4912f12

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

api/init.lua

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3389,6 +3389,10 @@ return {
33893389
name = "rgba8",
33903390
description = "Four 8-bit channels. 4 bytes per pixel."
33913391
},
3392+
{
3393+
name = "bgra8",
3394+
description = "Four 8-bit channels. 4 bytes per pixel."
3395+
},
33923396
{
33933397
name = "r16",
33943398
description = "One 16-bit channel. 2 bytes per pixel."

api/lovr/data/TextureFormat.lua

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ return {
2626
name = 'rgba8',
2727
description = 'Four 8-bit channels. 4 bytes per pixel.'
2828
},
29+
{
30+
name = 'bgra8',
31+
description = 'Four 8-bit channels. 4 bytes per pixel.'
32+
},
2933
{
3034
name = 'r16',
3135
description = 'One 16-bit channel. 2 bytes per pixel.'

0 commit comments

Comments
 (0)