File tree Expand file tree Collapse file tree 3 files changed +2
-4
lines changed
Expand file tree Collapse file tree 3 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 1212
1313DBG_DEFAULT_CHANNEL (EngDev );
1414
15- PGRAPHICS_DEVICE gpPrimaryGraphicsDevice ;
15+ static PGRAPHICS_DEVICE gpPrimaryGraphicsDevice ;
1616static PGRAPHICS_DEVICE gpVgaGraphicsDevice ;
1717
1818static PGRAPHICS_DEVICE gpGraphicsDeviceFirst = NULL ;
Original file line number Diff line number Diff line change 88PDEVOBJ_vRefreshModeList (
99 PPDEVOBJ ppdev );
1010
11- extern PGRAPHICS_DEVICE gpPrimaryGraphicsDevice ;
12-
1311VOID
1412APIENTRY
1513EngFileWrite (
Original file line number Diff line number Diff line change @@ -895,7 +895,7 @@ PDEVOBJ_lChangeDisplaySettings(
895895 }
896896 else if (RequestedMode )
897897 {
898- pGraphicsDevice = gpPrimaryGraphicsDevice ;
898+ pGraphicsDevice = EngpFindGraphicsDevice ( NULL , 0 ) ;
899899 if (!pGraphicsDevice )
900900 {
901901 ERR ("Wrong device'\n" );
You can’t perform that action at this time.
0 commit comments