
I'll have an AMD PCIe card in my hands in the next couple of days, hopefully suitable for hand-off to a VM. Meanwhile, I hope someone with a real mac will have the thrill of being the first to report success.
Moderators: winston, another_commander
Good job getting it to see OGL 4.1. The error above is an actual one and I expect that it will halt execution regardless of VM or not. The fix should be simple though. Just put this inside the MyOpenGLView.m found in the Cocoa folder:phkb wrote: ↑Mon Jul 08, 2024 2:06 amCode: Select all
12:02:24.183 [startup.exception]: ***** Unhandled exception during startup: NSInvalidArgumentException (-[MyOpenGLView setMsaa:]: unrecognized selector sent to instance 0x11784a000). Closing log at 2024-07-08 02:02:27 +0000.
Code: Select all
- (void) setMsaa:(BOOL)newMsaa
{
_msaa = !!newMsaa;
}
Code: Select all
- (void) setMsaa:(BOOL)newMsaa;
Code: Select all
BOOL _msaa;
(BOOL) msaa
method in the Cocoa edition of MyOpenGLView.h/m. You can refer to the equivalent SDL method and copy it as-is.GL_ARB_shading_language_100
extension if it supports OGL v4.1. Maybe another VM quirk? You will not be able to use the new renderer without shader support.Code: Select all
Opening log for Oolite development version 1.91.0-220208 (x86-64 test release) under Mac OS X Version 10.15.3 (Build 19D2064) at 2024-07-08 09:56:27 +0000.
Machine type: MacBookAir9,1, 8192 MiB memory, 2 (4 logical) x x86 (family 0x38435547) @ 1100 MHz.
Build options: OpenAL, new planets, JavaScript console support, Debug plug-in support, OXP verifier, localization tools, debug GraphViz support, JavaScript profiling.
Note that the contents of the log file can be adjusted by editing logcontrol.plist.
10:56:29.260 [dataCache.rebuild.pathsChanged] +[ResourceManager checkCacheUpToDateForPaths:] (ResourceManager.m:1156): Cache is stale (search paths have changed). Rebuilding from scratch.
10:56:29.577 [joystick.error.init] -[OOMacJoystickManager init] (OOMacJoystickManager.m:80): Cannot open HID manager; joystick support will not function.
10:56:29.577 [rendering.opengl.version] -[OOOpenGLExtensionManager reset] (OOOpenGLExtensionManager.m:221): OpenGL renderer version: 2.1.0 ("2.1 INTEL-14.4.26"). Vendor: "Intel Inc.". Renderer: "Intel(R) Iris(TM) Plus Graphics OpenGL Engine (1x6x8 (fused) LP".
10:56:29.577 [rendering.opengl.extensions] -[OOOpenGLExtensionManager reset] (OOOpenGLExtensionManager.m:222): OpenGL extensions (128):
GL_EXT_texture_compression_dxt1, GL_EXT_rescale_normal, GL_EXT_transform_feedback, GL_EXT_blend_func_separate, GL_EXT_framebuffer_sRGB, GL_ATI_texture_env_combine3, GL_ARB_draw_elements_base_vertex, GL_EXT_debug_label, GL_EXT_geometry_shader4, GL_EXT_secondary_color, GL_EXT_separate_specular_color, GL_EXT_shadow_funcs, GL_NV_texgen_reflection, GL_NV_blend_square, GL_ARB_texture_compression_rgtc, GL_EXT_stencil_wrap, GL_ARB_texture_env_crossbar, GL_EXT_framebuffer_blit, GL_ATI_separate_stencil, GL_APPLE_vertex_point_size, GL_EXT_texture_rectangle, GL_APPLE_specular_vector, GL_EXT_packed_depth_stencil, GL_EXT_blend_color, GL_ARB_fragment_program_shadow, GL_EXT_texture_env_add, GL_EXT_provoking_vertex, GL_EXT_texture_array, GL_ARB_texture_env_combine, GL_ARB_point_sprite, GL_ARB_multisample, GL_EXT_framebuffer_object, GL_ARB_framebuffer_sRGB, GL_EXT_texture_lod_bias, GL_APPLE_pixel_buffer, GL_ARB_vertex_program, GL_EXT_bgra, GL_APPLE_fence, GL_APPLE_ycbcr_422, GL_EXT_timer_query, GL_EXT_vertex_array_bgra, GL_ARB_depth_clamp, GL_IBM_rasterpos_clip, GL_ARB_pixel_buffer_object, GL_SGIS_generate_mipmap, GL_EXT_framebuffer_multisample_blit_scaled, GL_ARB_shader_texture_lod, GL_ARB_texture_float, GL_ARB_texture_rectangle, GL_ARB_vertex_shader, GL_NV_texture_barrier, GL_ARB_provoking_vertex, GL_ARB_texture_env_add, GL_APPLE_object_purgeable, GL_ARB_texture_env_dot3, GL_APPLE_rgb_422, GL_NV_depth_clamp, GL_ARB_texture_mirrored_repeat, GL_ARB_texture_cube_map, GL_APPLE_element_array, GL_ATI_texture_float, GL_ARB_window_pos, GL_ARB_sync, GL_ARB_vertex_buffer_object, GL_APPLE_texture_range, GL_NV_conditional_render, GL_EXT_stencil_two_side, GL_ARB_texture_compression, GL_ARB_instanced_arrays, GL_EXT_blend_minmax, GL_ARB_texture_border_clamp, GL_EXT_draw_buffers2, GL_ARB_shading_language_100, GL_EXT_blend_equation_separate, GL_ARB_vertex_blend, GL_EXT_blend_subtract, GL_EXT_packed_float, GL_APPLE_aux_depth_stencil, GL_APPLE_row_bytes, GL_NV_light_max_exponent, GL_EXT_abgr, GL_EXT_texture_filter_anisotropic, GL_ARB_vertex_array_bgra, GL_ARB_draw_buffers, GL_ARB_transpose_matrix, GL_ARB_color_buffer_float, GL_EXT_gpu_program_parameters, GL_APPLE_client_storage, GL_ARB_texture_non_power_of_two, GL_ARB_multitexture, GL_EXT_gpu_shader4, GL_APPLE_flush_render, GL_ARB_framebuffer_object, GL_APPLE_vertex_program_evaluators, GL_APPLE_transform_hint, GL_EXT_texture_compression_s3tc, GL_APPLE_flush_buffer_range, GL_EXT_texture_integer, GL_SGIS_texture_edge_clamp, GL_NV_fog_distance, GL_ARB_occlusion_query, GL_ARB_fragment_shader, GL_ARB_texture_rg, GL_ARB_fragment_program, GL_ARB_seamless_cube_map, GL_ARB_shader_objects, GL_EXT_draw_range_elements, GL_APPLE_vertex_array_object, GL_ARB_depth_texture, GL_EXT_texture_sRGB, GL_ARB_half_float_vertex, GL_APPLE_vertex_array_range, GL_ARB_shadow, GL_EXT_multi_draw_arrays, GL_ARB_half_float_pixel, GL_APPLE_packed_pixels, GL_ARB_point_parameters, GL_EXT_debug_marker, GL_EXT_texture_sRGB_decode, GL_EXT_clip_volume_hint, GL_SGIS_texture_lod, GL_EXT_fog_coord, GL_EXT_texture_shared_exponent, GL_ATI_texture_mirror_once, GL_APPLE_float_pixels, GL_EXT_framebuffer_multisample, GL_ARB_depth_buffer_float, GL_ARB_draw_instanced
10:56:29.593 [rendering.opengl.shader.support] -[OOOpenGLExtensionManager reset] (OOOpenGLExtensionManager.m:256): Shaders are supported.
10:56:29.620 [dataCache.rebuild.pathsChanged] +[ResourceManager checkCacheUpToDateForPaths:] (ResourceManager.m:1156): Cache is stale (search paths have changed). Rebuilding from scratch.
10:56:29.621 [searchPaths.dumpAll] +[ResourceManager logPaths] (ResourceManager.m:2240): Resource paths:
/var/folders/6s/ysb64pns7r3472gl73j4zsnc0000gn/T/AppTranslocation/6FDC7D69-51EA-4048-A3A8-D26C1FB3A480/d/Oolite 1.91.app/Contents/Resources
~/Library/Application Support/Oolite/Managed AddOns
~/Library/Application Support/Oolite/AddOns
~/.Oolite/AddOns
10:56:29.633 [shipData.load.begin] +[OOShipRegistry(Singleton) allocWithZone:] (OOShipRegistry.m:1698): Loading ship data.
10:56:30.242 [startup.complete] -[GameController applicationDidFinishLaunching:] (GameController.m:269): ========== Loading complete in 0.89 seconds. ==========
10:56:31.290 [exit.context] -[OoliteApp terminate:] (OoliteApp.m:68): Exiting: Cocoa terminate event.
Closing log at 2024-07-08 09:56:31 +0000.
Odd results on KVM-qemu-libvirt. I'd expected it to simply fail. Black window, alt-F12 maximises/minimises it.phkb wrote: ↑Mon Jul 08, 2024 8:49 amThanks, a_c. That error has been removed, so here is a new build for someone with a real Mac to test.: OoliteMac_1.91_TestBuild3.zip.
Fingers-crossed, Mac people!
Code: Select all
Opening log for Oolite version 1.91 (x86-64 test release) under Mac OS X Version 13.6.7 (Build 22G720) at 2024-07-08 09:57:58 +0000.
Machine type: iMacPro1,1, 8192 MiB memory, 2 x x86 (Penryn) @ 3200 MHz.
Build options: OpenAL, GLSL shaders, new planets, JavaScript console support, Debug plug-in support, OXP verifier, localization tools, debug GraphViz support, JavaScript profiling.
Note that the contents of the log file can be adjusted by editing logcontrol.plist.
10:57:58.105 [dataCache.rebuild]: Data cache version (1.90) does not match Oolite version (1.91), rebuilding cache.
10:57:59.933 [joystick.error.init]: Cannot open HID manager; joystick support will not function.
10:57:59.935 [rendering.opengl.version]: OpenGL renderer version: 4.1.0 ("4.1 APPLE-20.5.2"). Vendor: "Apple Inc.". Renderer: "Apple Software Renderer".
10:57:59.935 [rendering.opengl.extensions]: OpenGL extensions (46):
GL_ARB_blend_func_extended, GL_ARB_texture_swizzle, GL_APPLE_texture_range, GL_ARB_shader_subroutine, GL_ARB_viewport_array, GL_EXT_debug_label, GL_ARB_occlusion_query2, GL_EXT_texture_compression_s3tc, GL_ARB_instanced_arrays, GL_ARB_ver
tex_type_2_10_10_10_rev, GL_ARB_vertex_attrib_64bit, GL_EXT_framebuffer_multisample_blit_scaled, GL_ARB_gpu_shader5, GL_ARB_sampler_objects, GL_ARB_shading_language_include, GL_ARB_transform_feedback2, GL_APPLE_container_object_shareable,
GL_EXT_texture_mirror_clamp, GL_EXT_texture_filter_anisotropic, GL_ATI_texture_mirror_once, GL_ARB_gpu_shader_fp64, GL_ARB_internalformat_query, GL_ARB_ES2_compatibility, GL_ARB_texture_gather, GL_ARB_draw_buffers_blend, GL_ARB_sample_sh
ading, GL_ARB_separate_shader_objects, GL_ARB_texture_cube_map_array, GL_ARB_shader_bit_encoding, GL_ARB_tessellation_shader, GL_ARB_transform_feedback3, GL_ARB_texture_storage, GL_ARB_texture_buffer_object_rgb32, GL_ARB_texture_rgb10_a2u
i, GL_EXT_depth_bounds_test, GL_APPLE_flush_render, GL_ARB_explicit_attrib_location, GL_ARB_timer_query, GL_APPLE_rgb_422, GL_ARB_draw_indirect, GL_EXT_debug_marker, GL_EXT_texture_sRGB_decode, GL_APPLE_client_storage, GL_NV_texture_barri
er, GL_ARB_texture_query_lod, GL_APPLE_row_bytes
10:57:59.943 [rendering.opengl.shader.support]: Shaders will not be used (OpenGL extension GL_ARB_shading_language_100 is not available).
10:57:59.945 [initTargetFramebufferWithViewSize.result]: ***** ERROR: ***** Error: Multisample framebuffer not complete
10:57:59.946 [initTargetFramebufferWithViewSize.result]: ***** ERROR: ***** Error: Framebuffer not complete
10:57:59.946 [initTargetFramebufferWithViewSize.result]: ***** ERROR: ***** Error: Passthrough framebuffer not complete
10:57:59.946 [initTargetFramebufferWithViewSize.result]: ***** ERROR: ***** Error: Pingpong framebuffers not complete
10:57:59.946 [initTargetFramebufferWithViewSize.result]: ***** ERROR: ***** Error: Pingpong framebuffers not complete
10:58:00.009 [dataCache.rebuild]: Data cache version (1.90) does not match Oolite version (1.91), rebuilding cache.
10:58:00.026 [searchPaths.dumpAll]: Resource paths:
/var/folders/dl/585dfkxn0sg1lsdkmrpyn_nc0000gn/T/AppTranslocation/2941C7AF-B13E-4D7F-A77F-FDE4CEB369E1/d/Oolite.app/Contents/Resources
~/Library/Application Support/Oolite/Managed AddOns
~/Library/Application Support/Oolite/AddOns
~/Library/Application Support/Oolite/AddOns/org.oolite.hiran.OoliteStarter.oxp
~/Library/Application Support/Oolite/AddOns/Debug.oxp
10:58:00.044 [MSAA.setup]: Multisample anti-aliasing not requested.
10:58:00.044 [shipData.load.begin]: Loading ship data.
10:58:00.628 [debugSupport.load.success]: Debug Bundle loaded successfully.
10:58:00.636 [startup.complete]: ========== Loading complete in 0.91 seconds. ==========
10:58:00.763 [rendering.opengl.state]: Incorrect OpenGL state in -[Universe drawUniverse] (line 4869)->OOSetOpenGLState
10:58:00.763 [rendering.opengl.state]: Expected previous state: <canonical initial state>
10:58:00.763 [rendering.opengl.state]: GL_SHADE_MODEL should be GL_SMOOTH but is GL_ZERO.
10:58:00.763 [rendering.opengl.state]: GL_TEXTURE_ENV_MODE should be ENABLED but is ENABLED.
10:58:00.763 [rendering.opengl.state]: Incorrect OpenGL state in -[Universe drawUniverse] (line 4933)->OOSetOpenGLState
10:58:00.763 [rendering.opengl.state]: Expected previous state: OPENGL_STATE_OPAQUE
10:58:00.763 [rendering.opengl.state]: GL_LIGHTING should be ENABLED but is disabled.
10:58:00.763 [rendering.opengl.state]: GL_TEXTURE_2D should be ENABLED but is disabled.
10:58:00.763 [rendering.opengl.state]: GL_VERTEX_ARRAY should be ENABLED but is disabled.
10:58:00.763 [rendering.opengl.state]: GL_NORMAL_ARRAY should be ENABLED but is disabled.
10:58:00.763 [rendering.opengl.state]: GL_SHADE_MODEL should be GL_SMOOTH but is GL_ZERO.
10:58:00.763 [rendering.opengl.state]: GL_TEXTURE_ENV_MODE should be ENABLED but is ENABLED.
10:58:00.763 [rendering.opengl.state]: Incorrect OpenGL state in -[Universe drawUniverse] (line 4997)->OOVerifyOpenGLState
10:58:00.763 [rendering.opengl.state]: Expected previous state: OPENGL_STATE_OPAQUE
10:58:00.763 [rendering.opengl.state]: GL_LIGHTING should be ENABLED but is disabled.
10:58:00.763 [rendering.opengl.state]: GL_TEXTURE_2D should be ENABLED but is disabled.
10:58:00.763 [rendering.opengl.state]: GL_VERTEX_ARRAY should be ENABLED but is disabled.
10:58:00.763 [rendering.opengl.state]: GL_NORMAL_ARRAY should be ENABLED but is disabled.
10:58:00.763 [rendering.opengl.state]: GL_SHADE_MODEL should be GL_SMOOTH but is GL_ZERO.
10:58:00.763 [rendering.opengl.state]: GL_TEXTURE_ENV_MODE should be ENABLED but is ENABLED.
10:58:00.763 [rendering.opengl.state]: Incorrect OpenGL state in -[Universe drawUniverse] (line 4933)->OOSetOpenGLState
10:58:00.763 [rendering.opengl.state]: Expected previous state: OPENGL_STATE_OPAQUE
10:58:00.763 [rendering.opengl.state]: GL_LIGHTING should be ENABLED but is disabled.
10:58:00.763 [rendering.opengl.state]: GL_TEXTURE_2D should be ENABLED but is disabled.
10:58:00.763 [rendering.opengl.state]: GL_VERTEX_ARRAY should be ENABLED but is disabled.
Merely the one linked just above.another_commander wrote: ↑Mon Jul 08, 2024 10:24 amSomething is funny here. Cholly's and MrFlibble's versions of the executable differ. Cholly, I think you are running a very old 1.91 there - earlier than the introduction of the new renderer, which could also explain why the game continues to run instead of throwing an "OpenGL too old" exception and terminating (OGL 2.1 is reported in the log). Are you sure you are launching the correct binary?
Sorry to spend so long getting back to you...another_commander wrote: ↑Mon Jul 08, 2024 10:53 amYour log says that the build you are running is 1.91.0-220208, which is from February 2022. I still think there is a mix-up somewhere.
Code: Select all
Opening log for Oolite version 1.91 (x86-64 test release) under Mac OS X Version 14.5 (Build 23F79) at 2024-07-10 17:32:47 +0000.
Machine type: MacBookAir10,1, 8192 MiB memory, 8 x x86 (Westmere) @ 2400 MHz.
Build options: OpenAL, GLSL shaders, new planets, JavaScript console support, Debug plug-in support, OXP verifier, localization tools, debug GraphViz support, JavaScript profiling.
Note that the contents of the log file can be adjusted by editing logcontrol.plist.
19:32:47.393 [dataCache.notFound]: No data cache found, starting from scratch.
19:32:48.602 [joystick.error.init]: Cannot open HID manager; joystick support will not function.
19:32:48.602 [rendering.opengl.version]: OpenGL renderer version: 4.1.0 ("4.1 Metal - 88.1"). Vendor: "Apple". Renderer: "Apple M1".
19:32:48.602 [rendering.opengl.extensions]: OpenGL extensions (43):
GL_ARB_blend_func_extended, GL_ARB_texture_swizzle, GL_APPLE_texture_range, GL_ARB_shader_subroutine, GL_ARB_viewport_array, GL_EXT_debug_label, GL_ARB_occlusion_query2, GL_EXT_texture_compression_s3tc, GL_ARB_instanced_arrays, GL_ARB_vertex_type_2_10_10_10_rev, GL_ARB_vertex_attrib_64bit, GL_EXT_framebuffer_multisample_blit_scaled, GL_ARB_gpu_shader5, GL_ARB_sampler_objects, GL_ARB_shading_language_include, GL_ARB_transform_feedback2, GL_APPLE_container_object_shareable, GL_EXT_texture_filter_anisotropic, GL_ARB_gpu_shader_fp64, GL_ARB_internalformat_query, GL_ARB_ES2_compatibility, GL_ARB_texture_gather, GL_ARB_draw_buffers_blend, GL_ARB_sample_shading, GL_ARB_separate_shader_objects, GL_ARB_texture_cube_map_array, GL_ARB_shader_bit_encoding, GL_ARB_tessellation_shader, GL_ARB_transform_feedback3, GL_ARB_texture_storage, GL_ARB_texture_buffer_object_rgb32, GL_ARB_texture_rgb10_a2ui, GL_APPLE_flush_render, GL_ARB_explicit_attrib_location, GL_ARB_timer_query, GL_APPLE_rgb_422, GL_ARB_draw_indirect, GL_EXT_debug_marker, GL_EXT_texture_sRGB_decode, GL_APPLE_client_storage, GL_NV_texture_barrier, GL_ARB_texture_query_lod, GL_APPLE_row_bytes
19:32:48.608 [rendering.opengl.shader.support]: Shaders will not be used (OpenGL extension GL_ARB_shading_language_100 is not available).
19:32:48.610 [initTargetFramebufferWithViewSize.result]: ***** ERROR: ***** Error: Multisample framebuffer not complete
19:32:48.611 [initTargetFramebufferWithViewSize.result]: ***** ERROR: ***** Error: Framebuffer not complete
19:32:48.611 [initTargetFramebufferWithViewSize.result]: ***** ERROR: ***** Error: Passthrough framebuffer not complete
19:32:48.611 [initTargetFramebufferWithViewSize.result]: ***** ERROR: ***** Error: Pingpong framebuffers not complete
19:32:48.611 [initTargetFramebufferWithViewSize.result]: ***** ERROR: ***** Error: Pingpong framebuffers not complete
19:32:48.640 [dataCache.notFound]: No data cache found, starting from scratch.
19:32:48.644 [searchPaths.dumpAll]: Resource paths:
/var/folders/yg/dzbxbj1n4r7cbgl4rbhds8kh0000gn/T/AppTranslocation/D9E5CD9A-9BD2-4134-A646-08E3228F59D7/d/Oolite.app/Contents/Resources
19:32:48.652 [MSAA.setup]: Multisample anti-aliasing not requested.
19:32:48.652 [shipData.load.begin]: Loading ship data.
19:32:48.996 [startup.complete]: ========== Loading complete in 0.69 seconds. ==========
19:32:49.148 [rendering.opengl.state]: Incorrect OpenGL state in -[Universe drawUniverse] (line 4869)->OOSetOpenGLState
19:32:49.148 [rendering.opengl.state]: Expected previous state: <canonical initial state>
19:32:49.148 [rendering.opengl.state]: GL_SHADE_MODEL should be GL_SMOOTH but is GL_ZERO.
19:32:49.148 [rendering.opengl.state]: GL_TEXTURE_ENV_MODE should be ENABLED but is ENABLED.
19:32:49.148 [rendering.opengl.state]: Incorrect OpenGL state in -[Universe drawUniverse] (line 4933)->OOSetOpenGLState
19:32:49.148 [rendering.opengl.state]: Expected previous state: OPENGL_STATE_OPAQUE
19:32:49.148 [rendering.opengl.state]: GL_LIGHTING should be ENABLED but is disabled.
19:32:49.148 [rendering.opengl.state]: GL_TEXTURE_2D should be ENABLED but is disabled.
19:32:49.148 [rendering.opengl.state]: GL_VERTEX_ARRAY should be ENABLED but is disabled.
19:32:49.148 [rendering.opengl.state]: GL_NORMAL_ARRAY should be ENABLED but is disabled.
19:32:49.148 [rendering.opengl.state]: GL_SHADE_MODEL should be GL_SMOOTH but is GL_ZERO.
19:32:49.148 [rendering.opengl.state]: GL_TEXTURE_ENV_MODE should be ENABLED but is ENABLED.
19:32:49.148 [rendering.opengl.state]: Incorrect OpenGL state in -[Universe drawUniverse] (line 4997)->OOVerifyOpenGLState
Code: Select all
Opening log for Oolite version 1.90 (x86-64) under Mac OS X Version 14.5 (Build 23F79) at 2024-07-11 08:08:55 +0000.
Machine type: MacBookAir10,1, 8192 MiB memory, 8 x x86 (Westmere) @ 2400 MHz.
Build options: OpenAL, new planets.
Note that the contents of the log file can be adjusted by editing logcontrol.plist.
10:08:55.336 [dataCache.rebuild]: Data cache version (1.91) does not match Oolite version (1.90), rebuilding cache.
10:08:56.223 [joystick.error.init]: Cannot open HID manager; joystick support will not function.
10:08:56.224 [rendering.opengl.version]: OpenGL renderer version: 2.1.0 ("2.1 Metal - 88.1"). Vendor: "Apple". Renderer: "Apple M1".
10:08:56.224 [rendering.opengl.extensions]: OpenGL extensions (133):
GL_EXT_texture_compression_dxt1, GL_EXT_rescale_normal, GL_EXT_transform_feedback, GL_EXT_blend_func_separate, GL_EXT_framebuffer_sRGB, GL_ATI_texture_env_combine3, GL_ARB_draw_elements_base_vertex, GL_EXT_debug_label, GL_EXT_geometry_shader4, GL_EXT_secondary_color, GL_EXT_separate_specular_color, GL_EXT_shadow_funcs, GL_NV_texgen_reflection, GL_NV_blend_square, GL_ARB_texture_compression_rgtc, GL_EXT_stencil_wrap, GL_ARB_texture_env_crossbar, GL_EXT_framebuffer_blit, GL_EXT_bindable_uniform, GL_ATI_separate_stencil, GL_APPLE_vertex_point_size, GL_EXT_texture_rectangle, GL_APPLE_specular_vector, GL_EXT_packed_depth_stencil, GL_EXT_blend_color, GL_ARB_fragment_program_shadow, GL_EXT_texture_env_add, GL_ARB_imaging, GL_EXT_provoking_vertex, GL_EXT_texture_array, GL_ARB_texture_env_combine, GL_ARB_point_sprite, GL_ARB_multisample, GL_EXT_framebuffer_object, GL_ARB_framebuffer_sRGB, GL_EXT_texture_lod_bias, GL_APPLE_pixel_buffer, GL_ARB_vertex_program, GL_EXT_bgra, GL_APPLE_fence, GL_APPLE_ycbcr_422, GL_EXT_timer_query, GL_EXT_vertex_array_bgra, GL_ARB_depth_clamp, GL_IBM_rasterpos_clip, GL_ARB_pixel_buffer_object, GL_SGIS_generate_mipmap, GL_EXT_framebuffer_multisample_blit_scaled, GL_NV_vertex_program2_option, GL_ARB_shader_texture_lod, GL_ARB_texture_float, GL_ARB_texture_rectangle, GL_ARB_vertex_shader, GL_NV_texture_barrier, GL_ARB_provoking_vertex, GL_ARB_texture_env_add, GL_ARB_texture_env_dot3, GL_APPLE_rgb_422, GL_NV_depth_clamp, GL_ARB_texture_mirrored_repeat, GL_ARB_texture_cube_map, GL_APPLE_element_array, GL_ATI_texture_float, GL_ARB_window_pos, GL_ARB_sync, GL_ARB_vertex_buffer_object, GL_APPLE_texture_range, GL_NV_fragment_program2, GL_NV_conditional_render, GL_EXT_stencil_two_side, GL_ARB_texture_compression, GL_ARB_instanced_arrays, GL_EXT_blend_minmax, GL_ARB_texture_border_clamp, GL_EXT_draw_buffers2, GL_ARB_shading_language_100, GL_EXT_blend_equation_separate, GL_ARB_vertex_blend, GL_EXT_blend_subtract, GL_EXT_packed_float, GL_APPLE_aux_depth_stencil, GL_APPLE_row_bytes, GL_NV_light_max_exponent, GL_EXT_abgr, GL_EXT_texture_filter_anisotropic, GL_ARB_vertex_array_bgra, GL_ARB_draw_buffers, GL_ARB_transpose_matrix, GL_ARB_color_buffer_float, GL_EXT_gpu_program_parameters, GL_APPLE_client_storage, GL_ARB_texture_non_power_of_two, GL_ARB_multitexture, GL_EXT_gpu_shader4, GL_APPLE_flush_render, GL_NV_vertex_program3, GL_ARB_framebuffer_object, GL_APPLE_vertex_program_evaluators, GL_APPLE_transform_hint, GL_EXT_texture_compression_s3tc, GL_APPLE_flush_buffer_range, GL_EXT_texture_integer, GL_SGIS_texture_edge_clamp, GL_NV_fog_distance, GL_ARB_occlusion_query, GL_ARB_fragment_shader, GL_ARB_texture_rg, GL_ARB_fragment_program, GL_ARB_seamless_cube_map, GL_ARB_shader_objects, GL_EXT_draw_range_elements, GL_APPLE_vertex_array_object, GL_ARB_depth_texture, GL_NV_fragment_program_option, GL_EXT_texture_sRGB, GL_ARB_half_float_vertex, GL_SGI_color_matrix, GL_ARB_shadow, GL_EXT_multi_draw_arrays, GL_ARB_half_float_pixel, GL_APPLE_packed_pixels, GL_ARB_point_parameters, GL_EXT_debug_marker, GL_EXT_texture_sRGB_decode, GL_EXT_clip_volume_hint, GL_SGIS_texture_lod, GL_EXT_fog_coord, GL_EXT_texture_shared_exponent, GL_ARB_shadow_ambient, GL_EXT_framebuffer_multisample, GL_APPLE_float_pixels, GL_ARB_depth_buffer_float, GL_ARB_draw_instanced
10:08:56.234 [rendering.opengl.shader.support]: Shaders are supported.
10:08:56.238 [dataCache.rebuild]: Data cache version (1.91) does not match Oolite version (1.90), rebuilding cache.
10:08:56.242 [searchPaths.dumpAll]: Resource paths:
/var/folders/yg/dzbxbj1n4r7cbgl4rbhds8kh0000gn/T/AppTranslocation/35C0DE46-A67F-4906-834C-792CF63FA26C/d/Oolite.app/Contents/Resources
10:08:56.250 [shipData.load.begin]: Loading ship data.
10:08:56.641 [startup.complete]: ========== Loading complete in 0.60 seconds. ==========
10:09:06.907 [exit.context]: Exiting: Cocoa terminate event.
Closing log at 2024-07-11 08:09:06 +0000.
Code: Select all
NSString * const requiredExtension[] =
{
@"GL_ARB_shading_language_100",
@"GL_ARB_fragment_shader",
@"GL_ARB_vertex_shader",
@"GL_ARB_multitexture",
@"GL_ARB_shader_objects",
nil // sentinel - don't remove!
};
NSString * const *required = NULL;
for (required = requiredExtension; *required != nil; ++required)
{
if (![self haveExtension:*required])
{
OOLog(kOOLogOpenGLShaderSupport, @"Shaders will not be used (OpenGL extension %@ is not available).", *required);
return;
}
}