Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
I
imt2531-assignment2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Overkill Studios
imt2531-assignment2
Commits
6e467633
Commit
6e467633
authored
7 years ago
by
Jonas Johan Solsvik
Browse files
Options
Downloads
Patches
Plain Diff
comments
parent
309b0fd4
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/Parser.cpp
+1
-1
1 addition, 1 deletion
src/Parser.cpp
src/main.cpp
+2
-2
2 additions, 2 deletions
src/main.cpp
with
3 additions
and
3 deletions
src/Parser.cpp
+
1
−
1
View file @
6e467633
...
@@ -30,7 +30,7 @@ auto Parser::nextLine() -> std::string_view
...
@@ -30,7 +30,7 @@ auto Parser::nextLine() -> std::string_view
}
}
endofLine
=
strview
.
find
(
'\n'
,
startofLine
);
endofLine
=
strview
.
find
(
'\n'
,
startofLine
);
if
(
size_t
(
endofLine
)
==
std
::
string
::
npos
)
{
if
(
std
::
size_t
(
endofLine
)
==
std
::
string
::
npos
)
{
LOG_ERROR
(
"End of line character (
\n
) not found. Are you missing an end of line character at the end of file?"
);
LOG_ERROR
(
"End of line character (
\n
) not found. Are you missing an end of line character at the end of file?"
);
}
}
...
...
This diff is collapsed.
Click to expand it.
src/main.cpp
+
2
−
2
View file @
6e467633
...
@@ -56,7 +56,7 @@ int main(int argc, char** args)
...
@@ -56,7 +56,7 @@ int main(int argc, char** args)
Init
::
OpenGL
(
C
::
ClearColor
);
Init
::
OpenGL
(
C
::
ClearColor
);
Watcher
::
pollEvents
();
Watcher
::
pollEvents
();
// Load
resource
subsystem
// Load
asset
subsystem
s
TextureSystem
::
load
();
TextureSystem
::
load
();
ShaderSystem
::
createUniformBuffers
();
ShaderSystem
::
createUniformBuffers
();
ShaderSystem
::
load
();
ShaderSystem
::
load
();
...
...
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