mirror of
https://git.h3cjp.net/H3cJP/citra.git
synced 2024-11-25 17:52:54 +00:00
nvflinger: Add the Null display
In addition to the default, external, EDID, and internal displays, there's also a null display provided as well, which as the name suggests, does nothing but discard all commands given to it. This is provided for completeness.
This commit is contained in:
parent
679e63550a
commit
7e92497402
|
@ -85,11 +85,12 @@ private:
|
||||||
|
|
||||||
std::shared_ptr<Nvidia::Module> nvdrv;
|
std::shared_ptr<Nvidia::Module> nvdrv;
|
||||||
|
|
||||||
std::array<Display, 4> displays{{
|
std::array<Display, 5> displays{{
|
||||||
{0, "Default"},
|
{0, "Default"},
|
||||||
{1, "External"},
|
{1, "External"},
|
||||||
{2, "Edid"},
|
{2, "Edid"},
|
||||||
{3, "Internal"},
|
{3, "Internal"},
|
||||||
|
{4, "Null"},
|
||||||
}};
|
}};
|
||||||
std::vector<std::shared_ptr<BufferQueue>> buffer_queues;
|
std::vector<std::shared_ptr<BufferQueue>> buffer_queues;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue