Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Gauthier Quesnel
irritator
Commits
16f26f14
Commit
16f26f14
authored
Jun 07, 2021
by
Gauthier Quesnel
Browse files
gui: remove useless variable
parent
22b96576
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/gui/sources.cpp
View file @
16f26f14
...
...
@@ -102,14 +102,12 @@ show_random_distribution_text(const random_source& src) noexcept
static
void
show_random_distribution_input
(
random_source
&
src
)
noexcept
{
static
u64
size
=
1024u
*
1024u
;
int
current_item
=
ordinal
(
src
.
distribution
);
int
old_current
=
ordinal
(
src
.
distribution
);
ImGui
::
Combo
(
"Distribution"
,
&
current_item
,
irt
::
distribution_type_str
,
IM_ARRAYSIZE
(
irt
::
distribution_type_str
));
irt
::
distribution_type_str
ing
,
IM_ARRAYSIZE
(
irt
::
distribution_type_str
ing
));
src
.
distribution
=
enum_cast
<
distribution_type
>
(
current_item
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment