Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
G
Game Library
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Game Development
Game Library
Commits
8ed21bf0
Commit
8ed21bf0
authored
2 years ago
by
Joseph Walton-Rivers
Browse files
Options
Downloads
Patches
Plain Diff
use consistant names
parent
39b928b5
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
demo/demo/main.cpp
+2
-2
2 additions, 2 deletions
demo/demo/main.cpp
with
2 additions
and
2 deletions
demo/demo/main.cpp
+
2
−
2
View file @
8ed21bf0
...
...
@@ -71,7 +71,7 @@ static void test_atlas_api() {
auto
*
atlas
=
fggl
::
gfx
::
ImageAtlas
<
char
>::
pack
(
images
);
}
static
void
setup
S
ervice
L
ocators
(
fggl
::
util
::
ServiceLocator
&
locator
)
{
static
void
setup
_s
ervice
_l
ocators
(
fggl
::
util
::
ServiceLocator
&
locator
)
{
// FIXME: janky API(s)
auto
inputs
=
locator
.
supply
<
fggl
::
input
::
Input
>
(
std
::
make_shared
<
fggl
::
input
::
Input
>
());
auto
storage
=
locator
.
supply
<
fggl
::
data
::
Storage
>
(
std
::
make_shared
<
fggl
::
data
::
Storage
>
());
...
...
@@ -84,7 +84,7 @@ static void setupServiceLocators(fggl::util::ServiceLocator& locator) {
int
main
(
int
argc
,
const
char
*
argv
[])
{
auto
&
locator
=
fggl
::
util
::
ServiceLocator
::
instance
();
setup
S
ervice
L
ocators
(
locator
);
setup
_s
ervice
_l
ocators
(
locator
);
// create the application
fggl
::
App
app
(
"fggl-demo"
);
...
...
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