Cleanup: Remove unused code in GHOST_ContextCGL #109686

Merged
Jeroen Bakker merged 2 commits from Jeroen-Bakker/blender:metal-clg-with-metal-backend into main 2023-07-06 13:04:25 +02:00
Member

GHOST_ContextCGL used an incorrect compiler directive which was never
compiled. The comment also mentioned that this code block could be removed
After consulting with others we should remove the code-block so here is the change
that does this.

GHOST_ContextCGL used an incorrect compiler directive which was never compiled. The comment also mentioned that this code block could be removed After consulting with others we should remove the code-block so here is the change that does this.
Jeroen Bakker added this to the 4.0 milestone 2023-07-04 09:56:07 +02:00
Jeroen Bakker added the
Interest
Metal
label 2023-07-04 09:56:07 +02:00
Jeroen Bakker added 1 commit 2023-07-04 09:56:18 +02:00
GHOST_ContextCGL used an incorrect compiler directive. When reading
the comment we could also remove it. In order to do the right thing
(fixing directive vs removing code) we should ask feedback.
Jeroen Bakker added this to the Viewport & EEVEE project 2023-07-04 09:58:08 +02:00
Jeroen Bakker self-assigned this 2023-07-04 09:58:13 +02:00
Jeroen Bakker reviewed 2023-07-06 09:22:47 +02:00
@ -896,3 +896,3 @@
}
else {
#if WITH_METAL
#if WITH_METAL_BACKEND
Author
Member

After consulting, this code-block should be removed.

After consulting, this code-block should be removed.
Jeroen-Bakker marked this conversation as resolved
Jeroen Bakker added 1 commit 2023-07-06 13:01:56 +02:00
Jeroen Bakker changed title from Metal: Incorrect directive in GHOST_ContextCGL to Cleanup: Remove unused code in GHOST_ContextCGL 2023-07-06 13:02:31 +02:00
Jeroen Bakker merged commit 4731beec99 into main 2023-07-06 13:04:25 +02:00
Jeroen Bakker deleted branch metal-clg-with-metal-backend 2023-07-06 13:04:26 +02:00
Sign in to join this conversation.
No reviewers
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset System
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Code Documentation
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Viewport & EEVEE
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Asset Browser Project
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Module
Viewport & EEVEE
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Severity
High
Severity
Low
Severity
Normal
Severity
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#109686
No description provided.