DXGL r476 - Code Review
For
DXGL
(
recent comments
|
status changes
|
tags
|
authors
|
states
|
release notes
|
statistics
)
Jump to navigation
Jump to search
Repository:
DXGL
Revision:
<
r475
|
r476
|
r477
>
Date:
01:31, 4 August 2014
Author:
admin
Status:
new
Tags:
Comment:
Initialize fixed texture with previous data.
Modified paths:
/ddraw/TextureManager.c
(modified) (
history
)
Diff
[
purge
]
Index: ddraw/TextureManager.c
—
—
@@ -391,7 +391,7 @@
392
392
newtexture.internalformats[7] = 0;
393
393
ClearError();
394
394
glTexImage2D(GL_TEXTURE_2D, 0, newtexture.internalformats[0], newtexture.width, newtexture.height,
395
- 0, newtexture.format, newtexture.type, NULL);
395
+ 0, newtexture.format, newtexture.type, data);
396
396
error = glGetError();
397
397
if (error != GL_NO_ERROR)
398
398
{
Navigation menu
Personal tools
Log in
Namespaces
Special page
English
expanded
collapsed
Views
More
expanded
collapsed
Search
Navigation
Home
Main page
Recent changes
Random page
MediaWiki help
Introduction
Progress
Downloads
Source code
Build from source
AppDB
Bug reports
Forums
Tools
Special pages
Printable version