Cleanup: correct spelling in comments
This commit is contained in:
@@ -108,7 +108,7 @@ GLContext::~GLContext()
|
||||
BLI_assert(orphaned_vertarrays_.is_empty());
|
||||
/* For now don't allow GPUFrameBuffers to be reuse in another context. */
|
||||
BLI_assert(framebuffers_.is_empty());
|
||||
/* Delete vaos so the batch can be reused in another context. */
|
||||
/* Delete VAO's so the batch can be reused in another context. */
|
||||
for (GLVaoCache *cache : vao_caches_) {
|
||||
cache->clear();
|
||||
}
|
||||
@@ -312,7 +312,7 @@ void GLContext::memory_statistics_get(int *r_total_mem, int *r_free_mem)
|
||||
{
|
||||
/* TODO(merwin): use Apple's platform API to get this info. */
|
||||
if (GLEW_NVX_gpu_memory_info) {
|
||||
/* Teturned value in Kb. */
|
||||
/* Returned value in Kb. */
|
||||
glGetIntegerv(GL_GPU_MEMORY_INFO_TOTAL_AVAILABLE_MEMORY_NVX, r_total_mem);
|
||||
glGetIntegerv(GL_GPU_MEMORY_INFO_CURRENT_AVAILABLE_VIDMEM_NVX, r_free_mem);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user