mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2025-01-16 03:10:08 +00:00
Fixed clDispatcher::Map to return void (instead of void *> to avoid errors on VS2010.
This commit is contained in:
parent
d654a587e2
commit
f9a0531e6e
@ -116,7 +116,7 @@ OsdClVertexBuffer::UpdateData(const float *src, int numVertices) {
|
||||
Unmap();
|
||||
}
|
||||
|
||||
void *
|
||||
void
|
||||
OsdClVertexBuffer::Map() {
|
||||
|
||||
clEnqueueAcquireGLObjects(_clQueue, 1, &_clVbo, 0, 0, 0);
|
||||
|
@ -76,7 +76,7 @@ public:
|
||||
virtual ~OsdClVertexBuffer();
|
||||
|
||||
virtual void UpdateData(const float *src, int numVertices);
|
||||
void * Map();
|
||||
void Map();
|
||||
void Unmap();
|
||||
|
||||
cl_mem const * GetClBuffer() const { return &_clVbo; }
|
||||
@ -157,7 +157,7 @@ protected:
|
||||
int _numVertexElements, _numVaryingElements;
|
||||
};
|
||||
|
||||
friend class Match;
|
||||
friend struct Match;
|
||||
|
||||
protected:
|
||||
cl_program _clProgram;
|
||||
|
Loading…
Reference in New Issue
Block a user