Commit: 8dbc12864e005f35da146ba7ceb54237286ee5c5
Author: Nick Wu
Date:   Fri Jul 13 23:05:16 2018 +0800
Branches: soc-2018-npr
https://developer.blender.org/rB8dbc12864e005f35da146ba7ceb54237286ee5c5

Modify code to standard api and style

===================================================================

M       source/blender/draw/engines/lanpr/lanpr_dpix.c

===================================================================

diff --git a/source/blender/draw/engines/lanpr/lanpr_dpix.c 
b/source/blender/draw/engines/lanpr/lanpr_dpix.c
index 2812af9e3d5..416582ab8e4 100644
--- a/source/blender/draw/engines/lanpr/lanpr_dpix.c
+++ b/source/blender/draw/engines/lanpr/lanpr_dpix.c
@@ -392,8 +392,8 @@ void lanpr_dpix_draw_scene(LANPR_TextureList *txl, 
LANPR_FramebufferList *fbl, L
        pd->dpix_znear = camera ? ((Camera *)camera->data)->clipsta : v3d->near;
        pd->dpix_zfar = camera ? ((Camera *)camera->data)->clipend : v3d->far;
 
-       glPointSize(1);
-       glLineWidth(2);
+       GPU_point_size(1);
+       GPU_line_width(2);
        GPU_framebuffer_bind(fbl->dpix_transform);
        DRW_draw_pass(psl->dpix_transform_pass);

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to