Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
CAMP
campvis-public
Commits
211311c1
Commit
211311c1
authored
Jan 19, 2017
by
Jakob Weiss
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed bug regarding creating textures without initial data
parent
a15fc331
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
ext/cgt/texture.cpp
ext/cgt/texture.cpp
+0
-1
No files found.
ext/cgt/texture.cpp
View file @
211311c1
...
...
@@ -46,7 +46,6 @@ Texture::Texture(GLenum type, const cgt::ivec3& dimensions, GLint internalFormat
,
bpp_
(
0
)
{
init
();
uploadTexture
(
nullptr
,
calcMatchingPixelFormat
(
internalFormat
),
calcMatchingPixelDataType
(
internalFormat
));
}
Texture
::
Texture
(
GLenum
type
,
const
cgt
::
ivec3
&
dimensions
,
GLint
internalFormat
,
GLubyte
*
data
,
GLint
format
,
GLenum
dataType
,
Filter
filter
/*= LINEAR*/
)
...
...
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