Revert "Fix typo; Documentation; Expose layer for framebuffer attachament; Add framebuffer viewport setter; Remove framebuffer restore; Expose framebuffer push/pop stack API; Remove blend modes; Remove depth_range_set; Implement GPU_face_culling, GPU_front_facing, GPU_point_size, GPU_line_width, GPU_viewport, GPU_color_mask and GPU_depth_mask"

This reverts commit 9db3d1951d.

This was an accidental commit of the patch D8826
This commit is contained in:
2021-01-10 21:05:17 -03:00
parent d4330ae70b
commit af88d23ffa
14 changed files with 7 additions and 1353 deletions

View File

@@ -282,16 +282,6 @@ int PyC_ParseStringEnum(PyObject *o, void *p)
return 0;
}
const char *PyC_StringEnum_find_id(struct PyC_StringEnum *e, const int value)
{
for (int i = 0; e->items[i].id; i++) {
if (e->items[i].value == value) {
return e->items[i].id;
}
}
return NULL;
}
/* silly function, we dont use arg. just check its compatible with __deepcopy__ */
int PyC_CheckArgs_DeepCopy(PyObject *args)
{