OSDN Git Service

Refactored some tests of the graphics mode. Replaced a direct test of current_graphi...
authorEric Branlund <ebranlund@fastmail.com>
Mon, 9 Mar 2020 15:19:33 +0000 (08:19 -0700)
committerEric Branlund <ebranlund@fastmail.com>
Mon, 9 Mar 2020 15:19:33 +0000 (08:19 -0700)
commit9ced36561bb8a1fd0f6e54dc1a58283d2abf28ed
tree3298a4c6fc70ac35ecf71643cf44dd3853c0eb14
parent46d01ef6413eb29b37875a4cb1e0ddd8b9f2608d
Refactored some tests of the graphics mode.  Replaced a direct test of current_graphics_mode with a call to graphics_are_enabled().  Added an analogue to graphics_are_enabled() which tests the requested graphics mode.
src/main-cocoa.m