DXGL r373 - Code Review
For
DXGL
(
recent comments
|
status changes
|
tags
|
authors
|
states
|
release notes
|
statistics
)
Jump to navigation
Jump to search
Repository:
DXGL
Revision:
<
r372
|
r373
|
r374
>
Date:
23:56, 14 May 2013
Author:
admin
Status:
new
Tags:
Comment:
Disable non-working GPU memory stats, which were executed from the wrong thread.
Modified paths:
/ddraw/glDirectDraw.cpp
(modified) (
history
)
Diff
[
purge
]
Index: ddraw/glDirectDraw.cpp
—
—
@@ -1488,7 +1488,7 @@
1489
1489
{
1490
1490
TRACE_ENTER(4,14,this,14,lpDDSCaps2,14,lpdwTotal,14,lpdwFree);
1491
1491
if(!this) TRACE_RET(HRESULT,23,DDERR_INVALIDOBJECT);
1492
- if(GLEXT_NVX_gpu_memory_info)
1492
+ /*if(GLEXT_NVX_gpu_memory_info)
1493
1493
{
1494
1494
if(lpdwTotal) glGetIntegerv(GL_GPU_MEMORY_INFO_DEDICATED_VIDMEM_NVX,(GLint*)lpdwTotal);
1495
1495
if(lpdwFree) glGetIntegerv(GL_GPU_MEMORY_INFO_CURRENT_AVAILABLE_VIDMEM_NVX,(GLint*)lpdwFree);
—
—
@@ -1497,7 +1497,7 @@
1498
1498
TRACE_EXIT(23,DD_OK);
1499
1499
return DD_OK;
1500
1500
}
1501
- else
1501
+ else*/
1502
1502
{
1503
1503
MEMORYSTATUS memstat;
1504
1504
GlobalMemoryStatus(&memstat);
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