Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
qpong
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Armin Co
qpong
Commits
f4ff95e2
Commit
f4ff95e2
authored
Jan 26, 2020
by
Armin Co
Browse files
Options
Downloads
Patches
Plain Diff
Broken when loading config.
This is much slower than before.
parent
1b8c656e
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/CMakeLists.txt
+1
-0
1 addition, 0 deletions
src/CMakeLists.txt
src/Common.cpp
+1
-5
1 addition, 5 deletions
src/Common.cpp
src/qpong.config
+2
-2
2 additions, 2 deletions
src/qpong.config
with
4 additions
and
7 deletions
src/CMakeLists.txt
+
1
−
0
View file @
f4ff95e2
...
...
@@ -19,6 +19,7 @@ add_executable(qpong.app
ParticleImage.cpp
)
# we do need some threads
find_package
(
Threads
)
...
...
This diff is collapsed.
Click to expand it.
src/Common.cpp
+
1
−
5
View file @
f4ff95e2
...
...
@@ -7,8 +7,4 @@
namespace
QPong
{
int
arrayWidth
=
384
;
static
int
arrayHeight
=
384
;
static
int
numberOfThreads
=
8
;
static
unsigned
arraySize
=
arrayWidth
*
arrayHeight
;
}
// namespace QPong
This diff is collapsed.
Click to expand it.
src/qpong.config
+
2
−
2
View file @
f4ff95e2
ArrayWidth
=
512
ArrayHieght
=
512
\ No newline at end of file
ArrayWidth
=
384
ArrayHieght
=
384
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment