Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mandelbrot-explorer
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ильин Владимир Александрович
mandelbrot-explorer
Commits
fca1f13f
Commit
fca1f13f
authored
Jun 25, 2025
by
Ильин Владимир Александрович
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor headless mode bug fixed
parent
19a46d0f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
mandelbrot.c
src/mandelbrot.c
+3
-5
No files found.
src/mandelbrot.c
View file @
fca1f13f
...
...
@@ -335,7 +335,7 @@ render_headless(ViewInfo view, const char* filename,
width
*
height
*
sizeof
(
Color
)
};
short
unsigned
int
plug
;
short
unsigned
int
plug
=
1
;
render_cl
(
&
arr
,
texture
,
renderer
,
width
,
height
,
&
view
,
use_avx
,
use_omp
,
&
plug
,
max_iterations
);
...
...
@@ -373,8 +373,8 @@ main(int argc, char **argv)
if
(
args
.
output_file
)
{
render_headless
(
view
,
args
.
output_file
,
args
.
width
,
args
.
height
,
args
.
use_avx
,
args
.
use_omp
,
args
.
max_iterations
);
args
.
max_iterations
,
args
.
use_avx
,
args
.
use_omp
);
SDL_Quit
();
return
0
;
}
...
...
@@ -498,8 +498,6 @@ main(int argc, char **argv)
SDL_SetRenderDrawColor
(
app
.
renderer
,
0xff
,
0xff
,
0xff
,
0xff
);
SDL_RenderClear
(
app
.
renderer
);
printf
(
"needs_recalc: %i
\n
"
,
app
.
needs_recalc
);
render_cl
(
&
screen
,
app
.
texture
,
app
.
renderer
,
app
.
win_width
,
app
.
win_height
,
&
view
,
args
.
use_avx
,
args
.
use_omp
,
&
app
.
needs_recalc
,
args
.
max_iterations
);
...
...
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