Integrate a new resource manager which should have better performance
This commit is contained in:
@@ -95,7 +95,7 @@ void set_cursor(cursor_type which_c) {
|
||||
if(which_c == text_curs) {
|
||||
SetCursor(LoadCursor(NULL, IDC_IBEAM));
|
||||
} else {
|
||||
Cursor& curs = *ResMgr::get<CursorRsrc>(cursors[which_c]);
|
||||
Cursor& curs = *ResMgr::cursors.get(cursors[which_c]);
|
||||
curs.apply();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user