Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add OpenGL Core renderer and use as default #5655
Add OpenGL Core renderer and use as default #5655
Changes from 53 commits
22b0f3a
188f56a
e221321
abdc9dd
1764ea7
b58d4cd
ffe38a3
ac4f8cb
6aab647
02b6b64
1cace44
8eda0ab
ea4a72e
f00a789
3948ea8
b195670
58ec18c
953f36f
c3b65b5
d91d314
c5a45d6
e90e308
32035de
574d712
d313f6f
62e7a52
e7dc702
e67bfbe
06dc5d0
e448cdc
056d048
5db568f
aebf7a1
af8caf0
751a582
d1a6230
091edfd
a8397f7
dcc3d4d
f344f5d
60407de
1451aae
4ded6b3
400bfa0
5487a83
749adb7
699af72
eeef6a3
a5bf178
10b7eec
4f691c5
8e090c3
f85aef5
cc19945
e755c07
7122320
e8d2f12
255d760
86c00bc
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sold on the readability of
with
...More details for others unfamiliar with this new expression.
Also correct me if I'm wrong but this looks to be initialising every property in this case, so I think using
new
would suffice right?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also see at least one code inspection where this is to be applied.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes,
new
would suffice here.with
is only really that helpful inRenderer
itself, where there's a massive buffer that's changed by many methods. I thinknew
is actually usable for most cases other than that one...There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's go with it for now. I think it makes sense to use
with
in that case because it will handle a property potentially being added to the record in the future more correctly.