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
10557c97
Commit
10557c97
authored
Jun 25, 2025
by
Ильин Владимир Александрович
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed argp related warnings
parent
204b7f76
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
15 deletions
+15
-15
mandelbrot.c
src/mandelbrot.c
+15
-15
No files found.
src/mandelbrot.c
View file @
10557c97
...
...
@@ -210,20 +210,20 @@ struct arguments
static
struct
argp_option
options
[]
=
{
{
"output file"
,
'o'
,
"FILE"
,
0
,
"Render to image, default False"
},
{
"width"
,
'w'
,
"WIDTH"
,
0
,
"Width of window/image, default 640"
},
{
"height"
,
'h'
,
"HEIGHT"
,
0
,
"Height of window/image, default 480"
},
{
"iterations"
,
'i'
,
"ITERATIONS"
,
0
,
"Max iterations, default 250."
},
{
"dont_use_avx"
,
'x'
,
0
,
0
,
"NOT use avx for calculations, default False"
},
{
"dont_use_omp"
,
't'
,
0
,
0
,
"NOT use openmpfor calculations, default False"
},
{
"recalc"
,
'r'
,
0
,
0
,
"Recalculate set on every frame, default False"
},
{
"x_min"
,
'a'
,
"VALUE"
,
0
,
"X min"
},
{
"x_max"
,
'b'
,
"VALUE"
,
0
,
"X max"
},
{
"y_min"
,
'c'
,
"VALUE"
,
0
,
"Y min"
},
{
"y_max"
,
'd'
,
"VALUE"
,
0
,
"Y max"
},
{
"zoom"
,
'z'
,
"VALUE"
,
0
,
"Zoom"
},
{
"output file"
,
'o'
,
"FILE"
,
0
,
"Render to image, default False"
,
0
},
{
"width"
,
'w'
,
"WIDTH"
,
0
,
"Width of window/image, default 640"
,
0
},
{
"height"
,
'h'
,
"HEIGHT"
,
0
,
"Height of window/image, default 480"
,
0
},
{
"iterations"
,
'i'
,
"ITERATIONS"
,
0
,
"Max iterations, default 250."
,
0
},
{
"dont_use_avx"
,
'x'
,
0
,
0
,
"NOT use avx for calculations, default False"
,
0
},
{
"dont_use_omp"
,
't'
,
0
,
0
,
"NOT use openmpfor calculations, default False"
,
0
},
{
"recalc"
,
'r'
,
0
,
0
,
"Recalculate set on every frame, default False"
,
0
},
{
"x_min"
,
'a'
,
"VALUE"
,
0
,
"X min"
,
0
},
{
"x_max"
,
'b'
,
"VALUE"
,
0
,
"X max"
,
0
},
{
"y_min"
,
'c'
,
"VALUE"
,
0
,
"Y min"
,
0
},
{
"y_max"
,
'd'
,
"VALUE"
,
0
,
"Y max"
,
0
},
{
"zoom"
,
'z'
,
"VALUE"
,
0
,
"Zoom"
,
0
},
{
0
}
};
...
...
@@ -282,7 +282,7 @@ parse_opt (int key, char *arg, struct argp_state *state)
return
0
;
}
static
struct
argp
argp
=
{
options
,
parse_opt
,
NULL
,
NULL
};
static
struct
argp
argp
=
{
options
,
parse_opt
,
NULL
,
NULL
,
NULL
,
NULL
,
NULL
};
void
render_cl
(
Array
*
arr
,
SDL_Texture
*
texture
,
SDL_Renderer
*
renderer
,
int
width
,
int
height
,
ViewInfo
*
view
,
...
...
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