mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-09-20 04:42:18 +02:00
ignore test-random alpha (to ensure BGRX works)
This commit is contained in:
parent
efaafd7cb4
commit
813dfc6508
@ -37,10 +37,11 @@ static inline void fill_texture(uint32_t *pixels)
|
||||
|
||||
for (y = 0; y < 20; y++) {
|
||||
for (x = 0; x < 20; x++) {
|
||||
uint32_t pixel = 0xFF000000;
|
||||
uint32_t pixel = 0;
|
||||
pixel |= (rand()%256);
|
||||
pixel |= (rand()%256) << 8;
|
||||
pixel |= (rand()%256) << 16;
|
||||
//pixel |= (rand()%256) << 24;
|
||||
//pixel |= 0xFFFFFFFF;
|
||||
pixels[y*20 + x] = pixel;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user