diff options
author | Luca Barbieri <[email protected]> | 2010-09-21 16:00:45 +0200 |
---|---|---|
committer | Luca Barbieri <[email protected]> | 2010-09-21 16:01:26 +0200 |
commit | bb26272beaf1d2bddffaad5341235e70abcf483b (patch) | |
tree | 9476a94ebe9afa6653571aa1c9d992792011cf6a /src/gallium/state_trackers/d3d1x/d3d1xstutil | |
parent | f815b57b888d00228dcb355cbd34ed0f4c44a620 (diff) |
d3d1x: actually enable and fix blob apis
Diffstat (limited to 'src/gallium/state_trackers/d3d1x/d3d1xstutil')
-rw-r--r-- | src/gallium/state_trackers/d3d1x/d3d1xstutil/include/d3d1xstutil.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/d3d1x/d3d1xstutil/include/d3d1xstutil.h b/src/gallium/state_trackers/d3d1x/d3d1xstutil/include/d3d1xstutil.h index 47bf842b7b1..f79cc72a5d7 100644 --- a/src/gallium/state_trackers/d3d1x/d3d1xstutil/include/d3d1xstutil.h +++ b/src/gallium/state_trackers/d3d1x/d3d1xstutil/include/d3d1xstutil.h @@ -1049,6 +1049,7 @@ class GalliumD3DBlob : public GalliumComObject<ID3DBlob> void* data; size_t size; +public: GalliumD3DBlob(void* data, size_t size) : data(data), size(size) {} @@ -1057,7 +1058,7 @@ class GalliumD3DBlob : public GalliumComObject<ID3DBlob> { free(data); } -public: + virtual LPVOID STDMETHODCALLTYPE GetBufferPointer() { return data; |