mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 09:34:43 +00:00
[WIN32SS:ENG] Make gpPrimaryGraphicsDevice variable static
This commit is contained in:
parent
6e71e94242
commit
b4e781d72d
3 changed files with 2 additions and 4 deletions
|
@ -12,7 +12,7 @@
|
|||
|
||||
DBG_DEFAULT_CHANNEL(EngDev);
|
||||
|
||||
PGRAPHICS_DEVICE gpPrimaryGraphicsDevice;
|
||||
static PGRAPHICS_DEVICE gpPrimaryGraphicsDevice;
|
||||
static PGRAPHICS_DEVICE gpVgaGraphicsDevice;
|
||||
|
||||
static PGRAPHICS_DEVICE gpGraphicsDeviceFirst = NULL;
|
||||
|
|
|
@ -8,8 +8,6 @@ NTAPI
|
|||
PDEVOBJ_vRefreshModeList(
|
||||
PPDEVOBJ ppdev);
|
||||
|
||||
extern PGRAPHICS_DEVICE gpPrimaryGraphicsDevice;
|
||||
|
||||
VOID
|
||||
APIENTRY
|
||||
EngFileWrite(
|
||||
|
|
|
@ -895,7 +895,7 @@ PDEVOBJ_lChangeDisplaySettings(
|
|||
}
|
||||
else if (RequestedMode)
|
||||
{
|
||||
pGraphicsDevice = gpPrimaryGraphicsDevice;
|
||||
pGraphicsDevice = EngpFindGraphicsDevice(NULL, 0);
|
||||
if (!pGraphicsDevice)
|
||||
{
|
||||
ERR("Wrong device'\n");
|
||||
|
|
Loading…
Reference in a new issue